Skip to content
Snippets Groups Projects
Commit 3ee92c5c authored by Doucet, Mathieu's avatar Doucet, Mathieu
Browse files

Re #2926 Fix warnings

parent 382d9bed
No related branches found
No related tags found
No related merge requests found
......@@ -182,8 +182,8 @@ namespace Mantid
Geometry::Object_sptr shape = Geometry::ShapeFactory().createShape(detXML);
// Initialise the detector specifying the sizes.
bank->initialize(shape,int(nx),0,pixel_width,int(ny),0,pixel_height,1,true,int(nx));
for (size_t i = 0; i < ny; ++i)
for (size_t j = 0; j < nx; ++j)
for (int i = 0; i < static_cast<int>(ny); ++i)
for (int j = 0; j < static_cast<int>(nx); ++j)
{
instrument->markAsDetector(bank->getAtXY(j,i).get());
}
......
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