Skip to content

Commit 690aed2

Browse files
committed
fixing bug in unit test
1 parent 0eca4d5 commit 690aed2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/unit_test.cu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,6 @@ void evolve_test(){
11331133
par.store("sepMinEpsilon",0.0);
11341134
par.store("graph", false);
11351135
par.store("unit_test",false);
1136-
par.store("data_dir", (std::string)"data/");
11371136
par.store("ramp", false);
11381137
par.store("ramp_type", 1);
11391138
par.store("dimnum", 2);
@@ -1143,6 +1142,7 @@ void evolve_test(){
11431142
par.store("found_sobel", false);
11441143
par.store("use_param_file", false);
11451144
par.store("param_file","param.cfg");
1145+
par.store("data_dir", (std::string)"data/");
11461146
par.store("cyl_coord",false);
11471147
par.Afn = "rotation";
11481148
par.Kfn = "rotation_K";
@@ -1169,14 +1169,15 @@ void evolve_test(){
11691169
par.store("gsteps", gsteps);
11701170
par.store("printSteps", 30000);
11711171
par.store("write_file", true);
1172-
par.store("write_it", true);
1172+
par.store("write_it", false);
11731173
par.store("energy_calc", true);
11741174
par.store("box_size", 0.00007);
11751175
par.store("xDim", 64);
11761176
par.store("yDim", 1);
11771177
par.store("zDim", 1);
11781178

11791179

1180+
11801181
// Running through all the dimensions to check the energy
11811182
for (int i = 1; i <= 3; ++i){
11821183
if (i == 2){

0 commit comments

Comments
 (0)