Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
qbox-public
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
qbox
qbox-public
Commits
15649b64
Commit
15649b64
authored
Sep 17, 2019
by
Francois Gygi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make nlevels const in Bisection
parent
8afc2a07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Bisection.C
src/Bisection.C
+2
-1
Bisection.h
src/Bisection.h
+1
-1
No files found.
src/Bisection.C
View file @
15649b64
...
...
@@ -74,7 +74,8 @@ int walsh(int l, int n, int i)
}
////////////////////////////////////////////////////////////////////////////////
Bisection
::
Bisection
(
const
SlaterDet
&
sd
,
int
nlevels
[
3
])
:
ctxt_
(
sd
.
context
())
Bisection
::
Bisection
(
const
SlaterDet
&
sd
,
const
int
nlevels
[
3
])
:
ctxt_
(
sd
.
context
())
{
// localization vectors are long int
assert
(
sizeof
(
long
int
)
>=
4
);
...
...
src/Bisection.h
View file @
15649b64
...
...
@@ -69,7 +69,7 @@ class Bisection
public
:
Bisection
(
const
SlaterDet
&
sd
,
int
nlevels
[
3
]);
Bisection
(
const
SlaterDet
&
sd
,
const
int
nlevels
[
3
]);
void
compute_transform
(
const
SlaterDet
&
sd
,
int
maxsweep
,
double
tol
);
void
compute_localization
(
double
epsilon
);
void
forward
(
SlaterDet
&
sd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment