Skip to content

std::abs used without including header in extended_p_square.hpp #50

Description

@jefftrull

std::abs needs either <cmath> or <cstdlib> but neither is included. This results in a particularly hairy ambiguous overload problem on some old versions of gcc.

It also may be better to use std::fabs, which is intended for this use case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions