1. FEniCS Project
  2. Core
  3. FFC

Commits

Kristian Ølgaard  committed 9dded54

Minor fix in unit tests to reflect update in the way symbols are created.

  • Participants
  • Parent commits c10c577
  • Branches master

Comments (0)

Files changed (1)

File test/unit/symbolics/testmixedsymbols.py

View file
         self.assertEqual(str(mff3), '(x/y)/((x/y)/(x/%s))' % f_3)
 
         # Use p1 as a base expression for Symbol
-        s3 = Symbol(format["cos"], CONST, p1, 1)
+        s3 = Symbol(format["cos"](str(p1)), CONST, p1, 1)
         self.assertEqual(str(s3), 'std::cos(%s*x*y)' % f_3)
         self.assertEqual(s3.ops(), 3)