fix variable names (manhattanize_fast fixes)

This commit is contained in:
Jan Petykiewicz 2019-04-16 22:24:43 -07:00
parent c6830abe22
commit e3586a4574

View File

@ -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])
if err_xmin >= 0.5:
gxi_xmin += 1
gxi_min += 1
if err_xmax >= 0.5:
gxi_xmax += 1
gxi_max += 1
if abs(dv[0]) < 1e-20: