Ambiguous pow function in Gaudi::Math
We have two implementations of pow(..) in Gaudi::Math
https://gitlab.cern.ch/lhcb/LHCb/blob/master/Phys/LoKiCore/LoKi/Power.h
and
https://gitlab.cern.ch/lhcb/LHCb/blob/master/Kernel/LHCbMath/LHCbMath/ValueWithError.h
This leads to a compilation error when both headers are included.
I see different options to solve it
- Remove
Gaudi::Math::pow(double, unsigned int)and replace it withstd::pow - Remove the default values of the
ValueWithErrorconstructor then there should be no ambiguities. - Move one of them in a different namespace.