Skip to content
Snippets Groups Projects
Commit 18c309d1 authored by Marilena Bandieramonte's avatar Marilena Bandieramonte
Browse files

Re-introduce CxxUtils namespace to fix the failure of the CI pipeline related...

Re-introduce CxxUtils namespace to fix the failure of the CI pipeline related to slc6 and cc7 builds
parent d7f1b685
No related branches found
No related tags found
1 merge request!2Add the SpecialShapes package to GeoModelIO
......@@ -21,7 +21,7 @@
#include <cmath>
//namespace CxxUtils {
namespace CxxUtils {
/**
......@@ -103,7 +103,7 @@ struct sincos
};
//} // namespace CxxUtils
} // namespace CxxUtils
#endif //not SINCOS_H
......
......@@ -144,7 +144,7 @@ void LArWheelCalculator::fill_sincos_parameterization()
for(int i = 0; i < dataLen; ++ i){
const double a = Rmin + i * Rstep;
x[i] = a;
sincos scalpha(parameterized_slant_angle(a));
CxxUtils::sincos scalpha(parameterized_slant_angle(a));
ysin[i] = scalpha.sn;
ycos[i] = scalpha.cs;
for(int n = 0; n < nBasisFunctions; ++ n) {
......@@ -183,7 +183,7 @@ void LArWheelCalculator::fill_sincos_parameterization()
double dsin = 0., dcos = 0.;
double dtrig = 0.;
for(double r = Rmin + 40.; r < Rmax - 40.; r += Rstep / 10.){
sincos scalpha(parameterized_slant_angle(r));
CxxUtils::sincos scalpha(parameterized_slant_angle(r));
double sin_a, cos_a;
parameterized_sincos(r, sin_a, cos_a);
double ds = fabs(scalpha.sn - sin_a);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment