Skip to content
Snippets Groups Projects
Commit 897660f5 authored by Luc Hermitte's avatar Luc Hermitte
Browse files

COMP: Replace C++20 `auto` parameter w/ template (Normals)

parent 4958722c
No related branches found
No related tags found
No related merge requests found
......@@ -134,9 +134,9 @@ auto SimpleNormalMethodForRegularGrid(RealType x_spacing, RealType y_spacing)
* The lamdba used will return the normalized value, or a triplet of `nodata`
* if any of the two vertical or horizontal vector is null.
*/
template <typename PointType>
template <typename PointType, typename FloatType>
inline
auto SimpleNormalMethodForCartesianPoints(auto nodata)
auto SimpleNormalMethodForCartesianPoints(FloatType nodata)
{
auto lambda = [=](
Above<PointType> above, Left <PointType> left,
......
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