X-Git-Url: http://git.treefish.org/~alex/phys/u1casc.git/blobdiff_plain/85cb7253b975501063e89285d46824d0988b82ee..2605f4dd04fe3b3a53fb58bc9076bcc531e7232e:/u1casc-ordinary/obs_plaq.hpp diff --git a/u1casc-ordinary/obs_plaq.hpp b/u1casc-ordinary/obs_plaq.hpp index 2f09096..63e5296 100644 --- a/u1casc-ordinary/obs_plaq.hpp +++ b/u1casc-ordinary/obs_plaq.hpp @@ -94,10 +94,9 @@ void obs_plaq::prePlaqSus(vector< vector > *allVals, vector *p } double obs_plaq::plaqSus(vector *preCalculated, vector *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