Skip to content

Replace use of the Fortran intrinsic function cmplx() with our own macros

Description

Replace in several places the use of the Fortran intrinsic function "cmplx()" with our own macros to ensure no loss of precision occurs. NB: cmplx() returns a complex of default (i.e., single) precision.

News snippet

Replace use of the Fortran intrinsic function cmplx() with our own macros

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.

Merge request reports

Loading