Fix burn-in time bug
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
void usage(std::string filename)
|
||||
{
|
||||
std::cout << "Usage: " << filename
|
||||
<< " <start temperature> <end temperature> <lattice size> "
|
||||
"<points> <cycles> <burn-in-time> <output file>\n\n"
|
||||
<< " <start temperature> <end temperature> <points> "
|
||||
"<lattice size> <cycles> <burn-in-time> <output file>\n\n"
|
||||
<< "\t[ -h | --help ]\n";
|
||||
exit(-1);
|
||||
}
|
||||
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
|
||||
std::string outfile = argv[7];
|
||||
|
||||
montecarlo::phase_transition(L, start, end, points, cycles,
|
||||
montecarlo::mcmc_parallel, outfile);
|
||||
montecarlo::mcmc_parallel, outfile, burn_in_time);
|
||||
|
||||
t1 = omp_get_wtime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user