Commit f6f3c395 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Fixing use of .cc file for templated class implementation.

parent b86a946e
Pipeline #35941 failed with stages
in 13 minutes and 32 seconds
......@@ -7,7 +7,6 @@ IF("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
ENDIF()
SET(SOURCE
interpolate.cc
lognormal.cc
matrix.cc
normal.cc
......@@ -22,6 +21,7 @@ annealing.hh
annealing.i.hh
constants.hh
interpolate.hh
interpolate.i.hh
lognormal.hh
matrix.hh
matrix.i.hh
......
......@@ -24,4 +24,6 @@ std::vector<T> RADIX_PUBLIC interpolateToOtherBaseValues(
} // namespace radix
// Include implementation file
#include "radixmath/interpolate.i.hh"
#endif
......@@ -125,14 +125,6 @@ std::vector<T> interpolateValues(const std::vector<T> &baseValues,
return interpolatedValues;
}
template std::vector<float> interpolateValues<float>(
const std::vector<float> &baseValues,
const std::vector<float> &valuesToInterpolate, const bool circular,
const float missingValue);
template std::vector<double> interpolateValues<double>(
const std::vector<double> &baseValues,
const std::vector<double> &valuesToInterpolate, const bool circular,
const double missingValue);
/**
* @brief interpolateToOtherBaseValues
......@@ -282,15 +274,5 @@ std::vector<T> interpolateToOtherBaseValues(
return finalInterpolatedValues;
}
template std::vector<float> interpolateToOtherBaseValues<float>(
const std::vector<float> &baseValues,
const std::vector<float> &newBaseValues,
const std::vector<float> &valuesToInterpolate, const bool circular,
const float missingValues);
template std::vector<double> interpolateToOtherBaseValues<double>(
const std::vector<double> &baseValues,
const std::vector<double> &newBaseValues,
const std::vector<double> &valuesToInterpolate, const bool circular,
const double missingValues);
} // namespace radix
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment