fix variable names (manhattanize_fast fixes)
This commit is contained in:
parent
c6830abe22
commit
e3586a4574
@ -232,9 +232,9 @@ class Shape(metaclass=ABCMeta):
|
|||||||
err_xmax = (max(v[0], v_next[0]) - grid_x[gxi_max - 1]) / (grid_x[gxi_max] - grid_x[gxi_max - 1])
|
err_xmax = (max(v[0], v_next[0]) - grid_x[gxi_max - 1]) / (grid_x[gxi_max] - grid_x[gxi_max - 1])
|
||||||
|
|
||||||
if err_xmin >= 0.5:
|
if err_xmin >= 0.5:
|
||||||
gxi_xmin += 1
|
gxi_min += 1
|
||||||
if err_xmax >= 0.5:
|
if err_xmax >= 0.5:
|
||||||
gxi_xmax += 1
|
gxi_max += 1
|
||||||
|
|
||||||
|
|
||||||
if abs(dv[0]) < 1e-20:
|
if abs(dv[0]) < 1e-20:
|
||||||
|
Loading…
Reference in New Issue
Block a user