Skip to content
Snippets Groups Projects
Commit fabdb6fb authored by Jesper Andersson's avatar Jesper Andersson
Browse files

Removed one final unreachable break statements to silence nvcc

parent 4737a71e
No related branches found
No related tags found
No related merge requests found
...@@ -862,7 +862,6 @@ unsigned int Splinterpolator<T>::get_dwgts_at_i(const unsigned int *indx, const ...@@ -862,7 +862,6 @@ unsigned int Splinterpolator<T>::get_dwgts_at_i(const unsigned int *indx, const
switch (_order) { switch (_order) {
case 0: case 1: case 0: case 1:
throw SplinterpolatorException("get_dwgts_at_i: invalid order spline"); throw SplinterpolatorException("get_dwgts_at_i: invalid order spline");
break;
case 2: case 3: case 4: case 5: case 6: case 7: case 2: case 3: case 4: case 5: case 6: case 7:
for (unsigned int i=0; i<ni; i++) { for (unsigned int i=0; i<ni; i++) {
dwgts[dim][i] = get_dwgt_at_i(indx[dim]-(sinds[dim]+int(i))); dwgts[dim][i] = get_dwgt_at_i(indx[dim]-(sinds[dim]+int(i)));
......
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