Skip to content

Commit

Permalink
Refs #5806 reversed in setProperty for src and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VickieLynch committed Aug 27, 2012
1 parent 99a51c6 commit 1de49f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/SphericalAbsorption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ void SphericalAbsorption::exec()
anvred->setProperty<MatrixWorkspace_sptr>("OutputWorkspace", correctionFactors);
anvred->setProperty("PreserveEvents", true);
anvred->setProperty("ReturnTransmissionOnly", true);
anvred->setProperty("LinearScatteringCoef", m_refAtten);
anvred->setProperty("LinearAbsorptionCoef", m_scattering);
anvred->setProperty("LinearScatteringCoef", m_scattering);
anvred->setProperty("LinearAbsorptionCoef", m_refAtten);
anvred->setProperty("Radius", m_sphRadius);
anvred->executeAsSubAlg();
// Get back the result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class SphericalAbsorptionTest : public CxxTest::TestSuite
std::string outputWS("factors");
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("OutputWorkspace",outputWS) );
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("SphericalSampleRadius","0.17") );
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("AttenuationXSection","1.302") );
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("ScatteringXSection","1.686") );
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("AttenuationXSection","1.686") );
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("ScatteringXSection","1.302") );
TS_ASSERT_THROWS_NOTHING( atten->setPropertyValue("SampleNumberDensity","0.01") );
TS_ASSERT_THROWS_NOTHING( atten->execute() );
TS_ASSERT( atten->isExecuted() );
Expand Down

0 comments on commit 1de49f1

Please sign in to comment.