}
double obs_plaq::plaqSus(vector <double> *preCalculated, vector<double> *excludedMeas, int nmeas, void *para) {
- return (( (*preCalculated)[1] - pow((*excludedMeas)[0], 2) )
- - pow( (*preCalculated)[0] - (*excludedMeas)[0], 2 ))
- * *(int*)para * 6
- / (nmeas-1);
+ return (( (*preCalculated)[1] - pow((*excludedMeas)[0], 2) ) / (nmeas-1)
+ - pow( ( (*preCalculated)[0] - (*excludedMeas)[0] ) / (nmeas-1), 2 ))
+ * *(int*)para * 6;
}
#endif