Skip to content

Replace d2norm with hypot #6

@ivan-pi

Description

@ivan-pi

The function d2norm defined here

LSQR/src/lsqr.f90

Line 1164 in e581804

pure function d2norm( a, b )

could be replaced with the intrinsic function hypot which returns a value equal to a processor-dependent approximation to the Euclidean distance, without undue overflow or underflow.

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