Skip to content

Commit

Permalink
Disable windows warning. Re #7182.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed May 23, 2013
1 parent 0cca0b9 commit fe567e4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Code/Mantid/Framework/CurveFitting/test/FitMWTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ class FitMWTest : public CxxTest::TestSuite

}

#ifdef _WIN32
#pragma warning( push )
// Disable division by 0 warning
#pragma warning( disable: 4723 )
#endif

void test_ignore_invalid_data()
{
auto ws = createTestWorkspace(false);
Expand Down Expand Up @@ -437,6 +443,9 @@ class FitMWTest : public CxxTest::TestSuite

}

#ifdef _WIN32
#pragma warning ( pop ) // Re-enable the warning
#endif

private:

Expand Down

0 comments on commit fe567e4

Please sign in to comment.