Skip to content

Commit 59ddcfc

Browse files
committed
uncomment
1 parent 37012e1 commit 59ddcfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spinwalk.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ bool run(simulation_parameters param, std::map<std::string, std::vector<std::str
159159
#endif
160160
// ========== run ==========
161161
auto start_sim = std::chrono::high_resolution_clock::now();
162-
// ProgressBar bar{option::ShowPercentage{true}, option::Start{"["}, option::Fill{"="}, option::Lead{">"}, option::End{"]"}};
162+
ProgressBar bar{option::ShowPercentage{true}, option::Start{"["}, option::Fill{"="}, option::Lead{">"}, option::End{"]"}};
163163
simulation_parameters param_local;
164164
memcpy(&param_local, &param, sizeof(simulation_parameters));
165165
std::vector<uint32_t> v(param_local.n_spins);
@@ -221,7 +221,7 @@ bool run(simulation_parameters param, std::map<std::string, std::vector<std::str
221221
thrust::copy(d_T.begin(), d_T.end(), T.begin() + shift);
222222
}
223223
#endif
224-
// bar.set_progress(100 * (sl+1)/float(param.n_fov_scale));
224+
bar.set_progress(100 * (sl+1)/float(param.n_fov_scale));
225225
}
226226

227227
auto end_config = std::chrono::high_resolution_clock::now();

0 commit comments

Comments
 (0)