Bunch of small changes to code to make Xcode happier

This commit is contained in:
Ian
2015-07-19 22:39:55 -06:00
parent 5b2267fdc8
commit b14b5b68a2
11 changed files with 26 additions and 36 deletions

View File

@@ -276,7 +276,7 @@ bool is_valid_first_saturation_derivative(const std::string &name, parameters &i
if (!((i0 > 0) && (i0 != std::string::npos) && (i1 > (i0+1)) && (i1 != std::string::npos))){ return false; }
std::string den = split_at_slash[1].substr(i0+1, i1-i0-1);
parameters Of, Wrt, Constant;
parameters Of, Wrt;
if (is_valid_parameter(num, Of) && is_valid_parameter(den, Wrt) && upper(split_at_bar[1]) == "SIGMA"){
iOf = Of; iWrt = Wrt; return true;
}