Skip to content

Missing "-std=c++11" flag and "std::(f)abs" (mis)usage. #10

@JacekHoleczek

Description

@JacekHoleczek

The output from "qcdloop-config --cppflags" does NOT contain "-std=c++11", even though this flag is badly needed. Please fix it.

On this occasion, I would also like to ask you to improve the "qcdloop/maths.h" file a bit. Instead of:
inline double Abs(complex const& x) { return std::fabs(x);}
please use:
inline double Abs(complex const& x) { return std::abs(x);}

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