Skip to content
Snippets Groups Projects
Commit ac34312c authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix tests (broken from renaming autodiff submodule)

parent ea6e0238
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ from pystencils_autodiff._field_to_tensors import ( # NOQA
tf_variable_from_field, torch_tensor_from_field)
from pystencils_autodiff._adjoint_field import AdjointField
from pystencils_autodiff._autodiff import (
AutoDiffAstPair, AutoDiffOp, create_backward_assignments, get_jacobian_of_assignments)
AutoDiffAstPair, AutoDiffOp, create_backward_assignments, get_jacobian_of_assignments, DiffModes)
__all__ = ['backends',
'AdjointField',
......@@ -16,7 +16,7 @@ __all__ = ['backends',
'AutoDiffAstPair',
"tf_constant_from_field", " tf_placeholder_from_field",
"tf_scalar_variable_from_field", " tf_variable_from_field",
"torch_tensor_from_field"]
"torch_tensor_from_field", "DiffModes"]
sys.modules['pystencils.autodiff'] = pystencils_autodiff
sys.modules['pystencils.autodiff.backends'] = pystencils_autodiff.backends
......@@ -2,7 +2,8 @@ import sympy as sp
import pystencils as ps
import pystencils_autodiff
from pystencils_autodiff.autodiff import DiffModes
from pystencils_autodiff import DiffModes
def test_simple_2d_check_assignment_collection():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment