Skip to content

Commit

Permalink
fix fyz func
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Oct 30, 2023
1 parent d216370 commit 686ca85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoana/kernels/_extensions/potential_field_prism.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 686ca85

Please sign in to comment.