Commit 15649b64 by Francois Gygi

Make nlevels const in Bisection

parent 8afc2a07
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment