Skip to content

Commit

Permalink
Fix nasty bug with entropic attractor
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcarbone committed May 28, 2024
1 parent 94f0b4a commit e34d11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ void update_parameters_(utils::SimulationParameters* p)
else if (p->landscape == "GREM")
{
et = -sqrt(2.0 * p->N_spins * log(p->N_spins));
ea = -p->N_spins * p->beta / 2.0;
ea = -1.0 * p->N_spins * p->beta / 2.0;
}
else
{
Expand Down

0 comments on commit e34d11a

Please sign in to comment.