Keep the flag handling separate from the scaling loops
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Fri, 9 Feb 2018 22:00:03 +0000 (23:00 +0100)
committerGitHub <noreply@github.com>
Fri, 9 Feb 2018 22:00:03 +0000 (23:00 +0100)
commit55840f0bc957e486bf3b26ec10f13ebfbd743ae1
tree3d7c7875ef07f4ea81e842d30ba2de360d3d9cba
parente0b02789ff1f82c9cd5ea5f843861edce847191c
Keep the flag handling separate from the scaling loops

Fixes #1452 and is more in line with how ATLAS does it. The earlier fix from #356 only moved the bug elsewhere, but we will never want the iterative rescaling to change the dflag setting and variable associations with each cycle.
interface/rotmg.c