Skip to content
Snippets Groups Projects
Commit 751d7350 authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Fix test helper method call.

Refs #11614
parent 813aee83
No related merge requests found
...@@ -199,7 +199,7 @@ private: ...@@ -199,7 +199,7 @@ private:
phi.at(i)=ph(Hpeaks[i],Kpeaks[i],Lpeaks[i]); phi.at(i)=ph(Hpeaks[i],Kpeaks[i],Lpeaks[i]);
} }
Mantid::Geometry::Instrument_sptr inst = ComponentCreationHelper::createCylInstrumentWithDetInGivenPosisions(L2,theta, phi); auto inst = ComponentCreationHelper::createCylInstrumentWithDetInGivenPositions(L2,theta, phi);
inst->setName("SillyInstrument"); inst->setName("SillyInstrument");
auto pw = PeaksWorkspace_sptr(new PeaksWorkspace); auto pw = PeaksWorkspace_sptr(new PeaksWorkspace);
pw->setInstrument(inst); pw->setInstrument(inst);
......
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