Commit 74d0a821 authored by Carsten Gräser's avatar Carsten Gräser

Fix misleading indentation

This makes the indentation consistent and avoids
a corresponding gcc 6 warning.

@oliver.sander: Can you have a look if gcc discovered
a bug because the indentation was correct but there
where missing braces?
parent 0dac6ad9
Pipeline #2534 passed with stage
in 75 minutes and 51 seconds
......@@ -1043,13 +1043,13 @@ public:
N[r][i] = factor1 * N[r-1][i] + factor2 * N[r-1][i+1];
}
/** \todo We only hand out function values for those basis functions whose support overlaps
* the current knot span. However, in the preceding loop we still computed _all_ values_.
* This won't scale.
*/
for (size_t i=0; i<out.size(); i++) {
out[i] = N[order][std::max((int)(currentKnotSpan - order),0) + i];
}
/** \todo We only hand out function values for those basis functions whose support overlaps
* the current knot span. However, in the preceding loop we still computed _all_ values_.
* This won't scale.
*/
for (size_t i=0; i<out.size(); i++) {
out[i] = N[order][std::max((int)(currentKnotSpan - order),0) + i];
}
}
/** \brief Evaluate all one-dimensional B-spline functions for a given coordinate direction
......
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