Check mean difference instead to sum

This commit is contained in:
ysyapa 2023-03-18 17:29:05 -04:00
parent f8e65bf498
commit f7fc232d8b
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
"V_julia = np.frombuffer(buffer, dtype=np.float32)\n", "V_julia = np.frombuffer(buffer, dtype=np.float32)\n",
"\n", "\n",
"abs_diff = np.abs(V_local-V_julia)\n", "abs_diff = np.abs(V_local-V_julia)\n",
"s = np.sum(abs_diff)\n", "s = np.mean(abs_diff)\n",
"print(s)" "print(s)"
] ]
} }