MRChemSoft / mrchem

MultiResolution Chemistry
GNU Lesser General Public License v3.0
28 stars 21 forks source link

Fix precision issue with chk initial guess #347

Closed stigrj closed 3 years ago

stigrj commented 3 years ago

Fixes issue reported by Anders that chk initial guesses was limited by the chosen guess_prec, due to an orbital rotation immediately after loading the orbitals. Now the chk guess will get the full world_prec for this rotation. All other guesses will still use guess_prec, but they are anyway inherently limited by this precision in their construction (unlike chk).

codecov[bot] commented 3 years ago

Codecov Report

Merging #347 (6252635) into master (848c8b6) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #347   +/-   ##
=======================================
  Coverage   67.66%   67.66%           
=======================================
  Files         160      160           
  Lines       12334    12334           
=======================================
  Hits         8346     8346           
  Misses       3988     3988           
Impacted Files Coverage Δ
src/driver.cpp 68.85% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 848c8b6...6252635. Read the comment docs.

stigrj commented 3 years ago

Any hope of fixing the bot, or should I just override?

robertodr commented 3 years ago

You should override. I've tried few things and none have worked...

stigrj commented 3 years ago

There was a conflict with the last PR, so I reverted the Minazo commits