diff --git a/geoana/kernels/_extensions/potential_field_prism.pyx b/geoana/kernels/_extensions/potential_field_prism.pyx index b123c493..07134a39 100644 --- a/geoana/kernels/_extensions/potential_field_prism.pyx +++ b/geoana/kernels/_extensions/potential_field_prism.pyx @@ -165,7 +165,7 @@ cdef api double prism_fzy(double x, double y, double z) nogil: double v = 0.0 double r, temp r = sqrt(x * x + y * y + z * z) - v = y + r + v = x + r if v == 0.0: if x < 0: v = log(-2 * x)