Skip to content
Commit 388acd26 authored by Nicolas Tancogne-Dejean's avatar Nicolas Tancogne-Dejean
Browse files

Fixes two errors obtained by valgrind+verrou

 - Avoid computing the Legendre polynomial for values outside of [-1:1]
 - Fix a rounding error in which 2/3+2/3+2/3 -> 2.0000000000000004 occupations in C leads to loosing 2 electrons

Both of the errors were obtained for the test finite_system_3d/01-carbon_atom.01-psf_l0.inp
parent 4e5e9c8d
Loading
Loading
Loading
Pipeline #1230051825 passed with stage
in 0 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment