Commit 92ff2fe4 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix test for old Ubuntu

parent dedbd7f2
Pipeline #28403 waiting for manual action with stage
in 4 minutes and 59 seconds
import pytest
import sympy as sp
import pystencils as ps
import pystencils as ps
from pystencils import Assignment
from pystencils.astnodes import Block, SkipIteration, LoopOverCoordinate, SympyAssignment
from sympy.codegen.rewriting import optims_c99
from pystencils.astnodes import Block, LoopOverCoordinate, SkipIteration, SympyAssignment
dst = ps.fields('dst(8): double[2D]')
s = sp.symbols('s_:8')
......@@ -83,7 +83,8 @@ def test_loop_over_coordinate():
def test_sympy_assignment():
from sympy.codegen.rewriting import optims_c99
assignment = SympyAssignment(dst[0, 0](0), sp.log(x + 3) / sp.log(2) + sp.log(x ** 2 + 1))
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