Skip to content

Commit

Permalink
update flash
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Dec 8, 2024
1 parent 6b43a72 commit 3ac793a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public void run() {
gibbsEnergyOld = gibbsEnergy;
gibbsEnergy = system.getGibbsEnergy();

if ((gibbsEnergy - gibbsEnergyOld) / Math.abs(gibbsEnergyOld) > 1e-3
if ((gibbsEnergy - gibbsEnergyOld) / Math.abs(gibbsEnergyOld) > 1e-8
&& !system.isChemicalSystem() && timeFromLastGibbsFail > 0) {
resetK();
timeFromLastGibbsFail = 0;
Expand Down

0 comments on commit 3ac793a

Please sign in to comment.