Skip to content
Snippets Groups Projects
Commit b492ddc0 authored by Antti Soininen's avatar Antti Soininen
Browse files

Fix compiler warning: comparison between signed/unsigned. Re #24462

parent 1141f9a4
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,8 @@ public: ...@@ -38,8 +38,8 @@ public:
// Fill them // Fill them
Mantid::MantidVec a(25); Mantid::MantidVec a(25);
for (int i = 0; i < a.size(); ++i) { for (size_t i = 0; i < a.size(); ++i) {
a[i] = i + 0.1; a[i] = static_cast<double>(i) + 0.1;
} }
for (int j = 0; j < 5; ++j) { for (int j = 0; j < 5; ++j) {
m_space->mutableX(j) = m_space->mutableX(j) =
......
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