Commit b90b9a42 authored by Jan Hönig's avatar Jan Hönig
Browse files

Updated doctest

parent 4ca8df57
Pipeline #35362 passed with stages
in 31 minutes and 28 seconds
......@@ -20,7 +20,9 @@ pystencils/boundaries/createindexlistcython.*.so
pystencils_tests/tmp
pystencils_tests/kerncraft_inputs/.2d-5pt.c_kerncraft/
pystencils_tests/kerncraft_inputs/.3d-7pt.c_kerncraft/
report.xml
coverage_report/
# macOS
**/.DS_Store
\ No newline at end of file
**/.DS_Store
......@@ -97,7 +97,7 @@ def kernel_config(config: CreateKernelConfig, **kwargs) -> Callable[..., Dict]:
... s.neighbors @= f[0,1] + f[1,0]
... g[0,0] @= s.neighbors + f[0,0] if f[0,0] > 0 else 0
>>> f, g = ps.fields('f, g: [2D]')
>>> assert my_kernel[0].rhs == f[0,1] + f[1,0]
>>> assert my_kernel['assignments'][0].rhs == f[0,1] + f[1,0]
"""
def decorator(func: Callable[..., None]) -> Union[List[Assignment], Dict]:
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment