Skip to content

Commit

Permalink
Fix test helper method call.
Browse files Browse the repository at this point in the history
Refs #11614
  • Loading branch information
martyngigg committed Apr 22, 2015
1 parent 813aee8 commit 751d735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Crystal/test/CalculateUMatrixTest.h
Expand Up @@ -199,7 +199,7 @@ class CalculateUMatrixTest : public CxxTest::TestSuite
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");
auto pw = PeaksWorkspace_sptr(new PeaksWorkspace);
pw->setInstrument(inst);
Expand Down

0 comments on commit 751d735

Please sign in to comment.