Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/bugfix/9048_smallWinBugs'
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Feb 28, 2014
2 parents fddd47e + 53baf57 commit c2fff94
Show file tree
Hide file tree
Showing 26 changed files with 507 additions and 416 deletions.
1 change: 0 additions & 1 deletion Code/Mantid/Framework/API/inc/MantidAPI/BoxController.h
Expand Up @@ -9,7 +9,6 @@
#include "MantidAPI/IBoxControllerIO.h"
#include <nexus/NeXusFile.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/interprocess/smart_ptr/unique_ptr.hpp>
#include <vector>


Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/API/src/IMDEventWorkspace.cpp
Expand Up @@ -22,7 +22,8 @@ namespace API
/** Copy constructor */
IMDEventWorkspace::IMDEventWorkspace(const IMDEventWorkspace & other)
: IMDWorkspace(other),
MultipleExperimentInfos(other)
MultipleExperimentInfos(other),
m_fileNeedsUpdating(other.m_fileNeedsUpdating)
{
}

Expand Down
Expand Up @@ -48,7 +48,7 @@ namespace Mantid
{
public:
/// Default constructor
Divide() : BinaryOperation() {};
Divide() : BinaryOperation(),m_warnOnZeroDivide(true){};
/// Destructor
virtual ~Divide() {};
/// Algorithm's name for identification overriding a virtual method
Expand Down Expand Up @@ -81,7 +81,7 @@ namespace Mantid
void checkRequirements();

std::string checkSizeCompatibility(const API::MatrixWorkspace_const_sptr lhs,const API::MatrixWorkspace_const_sptr rhs) const;

// usually you want to warn user if division by 0 occurs. set it to false to generate these warnings on debug level only
bool m_warnOnZeroDivide;

};
Expand Down
Expand Up @@ -118,6 +118,8 @@ namespace Mantid

/// Pointer to progress reporting
API::Progress *m_progress;
// internal method called within the loop to avoid true-catch operations which broke Microsoft compiler compiling in parallel
bool calculateBackground(size_t inputIndex, size_t ouptutIndex);
};


Expand Down
Expand Up @@ -71,7 +71,7 @@ namespace CurveFitting
void exec();

/// Perform the conversion to Y-space
void convert(const size_t i);
bool convert(const size_t i);
/// Check and store appropriate input data
void retrieveInputs();
/// Create the output workspace
Expand Down
232 changes: 123 additions & 109 deletions Code/Mantid/Framework/CurveFitting/src/CalculateGammaBackground.cpp

Large diffs are not rendered by default.

0 comments on commit c2fff94

Please sign in to comment.