X-Git-Url: http://git.treefish.org/~alex/phys/u1casc.git/blobdiff_plain/85cb7253b975501063e89285d46824d0988b82ee..fb62bce00a991081189fc750d6acdd51bbc7c468:/u1casc-ordinary/obs_plaq.hpp?ds=inline 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