Commit 1b1a523d authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Call the correct function for the M2L derivative checks.

parent eb07db4d
......@@ -954,8 +954,8 @@ int main() {
const double r_inv = 1. / sqrt(r2);
/* Compute all derivatives */
struct potential_derivatives pot;
compute_potential_derivatives(dx, dy, dz, r2, r_inv, 0., 0., FLT_MAX, &pot);
struct potential_derivatives_M2L pot;
compute_potential_derivatives_M2L(dx, dy, dz, r2, r_inv, 0., FLT_MAX, &pot);
/* Minimal value we care about */
const double min = 1e-9;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment