Skip to content
Snippets Groups Projects
Commit 01c5159a authored by Zhou, Wenduo's avatar Zhou, Wenduo
Browse files

Fixed the last warning. Refs #11288.

parent a8f83af2
No related branches found
No related tags found
No related merge requests found
......@@ -711,7 +711,7 @@ IMDEventWorkspace_sptr ConvertSpiceDataToRealSpace::createMonitorMDWorkspace(
float signal = static_cast<float>(vecmonitor[iws]);
float error = 1;
if (signal > 1)
error = sqrt(signal);
error = std::sqrt(signal);
size_t nHist = thisWorkspace->getNumberHistograms();
for (std::size_t i = 0; i < nHist; ++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