Commit aa9baa39 authored by Zhou, Wenduo's avatar Zhou, Wenduo
Browse files

Fix windows DLL and doxygen. Refs #6746.

parent 15f4967f
......@@ -63,7 +63,7 @@ namespace Mantid
template<typename TYPE>
std::vector<double> getModifiedZscore(const std::vector<TYPE>& data, const bool sorted=false);
/// Return the R-factors (Rwp) of a diffraction pattern data
double getRFactor(const std::vector<double>& obsI, const std::vector<double>& calI, const std::vector<double>& obsE);
double MANTID_KERNEL_DLL getRFactor(const std::vector<double>& obsI, const std::vector<double>& calI, const std::vector<double>& obsE);
} // namespace Kernel
} // namespace Mantid
......
......@@ -217,11 +217,13 @@ namespace Mantid
}
/** Return the Rwp of a diffraction pattern data
* @param obsY :: array of observed intensity values
* @param calY :: array of calculated intensity values;
* @param obsI :: array of observed intensity values
* @param calI :: array of calculated intensity values;
* @param obsE :: array of error of the observed data;
* @return :: Rwp
*
*/
DLLExport double getRFactor(const std::vector<double>& obsI, const std::vector<double>& calI, const std::vector<double>& obsE)
double getRFactor(const std::vector<double>& obsI, const std::vector<double>& calI, const std::vector<double>& obsE)
{
// 1. Check
if (obsI.size() != calI.size() || obsI.size() != obsE.size())
......
......@@ -148,42 +148,3 @@ public:
};
#endif // STATISTICSTEST_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment