Skip to content

Fixes from fuzzing - 2

Description

More fixes:

  • Prevent an End of record for the reference from Libxc
  • Add missing coefficients for TS vdW correction
  • Only print an error message if we have spins treated explicitly.
  • Avoid a segfault by computing the vdW correction also in case of forced semilocal functionals.
  • Add a proper error message for RDMFT+vdW, to avoid a segfault. Also avoid computing the smearing for RDMFT, as the eigenvalues are not initialized at this stage.
  • Prevent using magnetic terms/vector potential for real-wavefunctions, avoid to fall into an ASSERT.
  • Forbid another combination that was leading to a segfault.
  • Avoid an FPE caused by uninitialized variables.

News snippet

Minor fixes.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.
Edited by Nicolas Tancogne-Dejean

Merge request reports

Loading