-
Notifications
You must be signed in to change notification settings - Fork 1
Use "inline" initialization #7
Copy link
Copy link
Open
Description
This code
Line 55 in 44db5cc
| this->H0 = H0; |
though compiles itself looks very odd. Just use
Methods(
Matrix<double, 3, 3> H0,
Matrix<double, 3, 3> W,
Matrix<complex<double>, 3, 1> v,
double v0,
double n,
function<double(double, double, double)> prof,
double start,
double end,
double step
): H0(H0), W(W), v(v), v0(v0), n(n), start(start), end(end), step(step), prof(prof)
then in body of constructor you could calculate proper step for algorithms.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels