fix var name

This commit is contained in:
Jan Petykiewicz 2022-10-04 14:33:47 -07:00
parent ec9a6edc85
commit d4fcfa1e07

View File

@ -133,7 +133,7 @@ def curl_forward_parts(
def curl_back_parts( def curl_back_parts(
dx_h: Optional[Sequence[NDArray[numpy.float_]]] = None, dx_h: Optional[Sequence[NDArray[numpy.float_]]] = None,
) -> Callable: ) -> Callable:
Dx, Dy, Dz = deriv_back(dx_e) Dx, Dy, Dz = deriv_back(dx_h)
def mkparts_back(h: fdfield_t) -> Tuple[Tuple[fdfield_t, ...]]: def mkparts_back(h: fdfield_t) -> Tuple[Tuple[fdfield_t, ...]]:
return ((-Dz(h[1]), Dy(h[2])), return ((-Dz(h[1]), Dy(h[2])),