Skip to content

Inclusion of VDT is problematic #20

@dpiparo

Description

@dpiparo

The inclusion of part of the VDT library (https://github.com/dpiparo/vdt) is problematic.
For example in include/blond/vdtcore_common.h, constants present in a system header, math.h, are redefined. Namely:

#define M_PI 3.14159265358979323846
#define M_PI_2 1.57079632679489661923

This is less than optimal practice. If inclusion of parts of other libraries cannot be avoided or proper treatment as external packages has to be postponed, it may be useful to include in the BLonD repo the proper headers ;-) (https://github.com/dpiparo/vdt/blob/master/include/vdtcore_common.h)

Cheers,
D

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions