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

Add pystencils.autodiff

parent 2e2bc712
No related branches found
No related tags found
No related merge requests found
Pipeline #17016 failed
......@@ -13,6 +13,16 @@ from .simp import AssignmentCollection
from .slicing import make_slice
from .sympyextensions import SymbolCreator
try:
import sys
import pystencils_autodiff
sys.modules['pystencils.autodiff'] = pystencils_autodiff
except Exception:
class autodiff: # NOQA
def __getattribute__(self):
raise NotImplementedError("pystencils_autodiff is not installed! Run 'pip install pystencils_autodiff'")
__all__ = ['Field', 'FieldType', 'fields',
'TypedSymbol',
'make_slice',
......
# -*- coding: utf-8 -*-
#
# Copyright © 2019 Stephan Seitz <stephan.seitz@fau.de>
#
# Distributed under terms of the GPLv3 license.
"""
"""
def test_import_autodiff():
import pystencils.autodiff
def main():
test_import_autodiff()
if __name__ == '__main__':
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment