We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd77ad9 commit b041580Copy full SHA for b041580
source/source_relax/test/bfgs_test.cpp
@@ -68,9 +68,9 @@ TEST_F(BFGSTest, DetermineStepScaling)
68
bfgs.allocate(size);
69
70
std::vector<double> steplength = {1.0, 0.1};
71
- std::vector<std::vector<double>> dpos = {
72
- {1.0, 1.0, 1.0},
73
- {0.1, 0.1, 0.1}
+ std::vector<ModuleBase::Vector3<double>> dpos = {
+ ModuleBase::Vector3<double>(1.0, 1.0, 1.0),
+ ModuleBase::Vector3<double>(0.1, 0.1, 0.1)
74
};
75
double maxstep = 0.5;
76
bfgs.DetermineStep(steplength, dpos, maxstep);
0 commit comments