Skip to content

Declare real variables as real(kind=dp) #1

@Beliavsky

Description

@Beliavsky

Your codes use default real variables. I think it would be better to declare the variables
as double precision with code such as

integer, parameter :: dp = kind(1.0d0)
real(kind=dp) :: x, y

especially since Python floating point variables are double precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions