]> hackdaworld.org Git - physik/posic.git/blobdiff - fluctuation_calc.c
new targets
[physik/posic.git] / fluctuation_calc.c
index 210f3829ca7c6b495511043170969e62f06374b6..469371d4c3dfb9c0dccb7379869e5963e1bd112c 100644 (file)
@@ -103,7 +103,7 @@ int main(int argc,char **argv) {
        de2=e2/count-e*e/(count*count);
        printf("--> fluctuation [eV/atom]: %.20f\n",de2);
        if(argc==8) {
-               de2*=(np*np)*(EV*EV);
+               de2*=((np*np*EV*EV));
                printf("    specific heat capacity (T=%f K) [J/(kg K)]:\n",
                       t);
                printf("    nve: %f\n",