Skip to content
Snippets Groups Projects
Commit e68478a2 authored by Jose Borreguero's avatar Jose Borreguero
Browse files

Refs #26711 clang format correction

parent 09fcbcff
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,9 @@ public:
double dy = (center_y - (double)iy);
Y[0] = exp(-(dx * dx + dy * dy));
// Set tube extrema to special values
if (iy == 0 || iy == SANSInstrumentCreationHelper::nBins - 1 )
Y[0] = iy % 2 ? std::nan("") : std::numeric_limits<double>::infinity();
if (iy == 0 || iy == SANSInstrumentCreationHelper::nBins - 1)
Y[0] =
iy % 2 ? std::nan("") : std::numeric_limits<double>::infinity();
E[0] = 1;
}
}
......
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