Do not simplify in overloaded operators, type mappers #710
Annotations
6 errors
|
Main Script:
test/test/test/test_matchpy.py#L104
test_make_subexpr_subst
AssertionError: assert Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Power(Subscript(Variable('a'), (Variable('k'),)), 1), Power(Subscript(Variable('d'), (Variable('k'),)), 1), 1)) == Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))) = <function flatten at 0x7f3f8ff90b80>(Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))))
+ where Product((Call(Variable('subst'), (Variable('i'), Variable('j'))), Product((Subscript(Variable('a'), (Variable('k'),)), Subscript(Variable('d'), (Variable('k'),)))))) = <pymbolic.parser.Parser object at 0x7f3f962b3c80>('subst(i, j)*a[(k,)]*d[(k,)]')
|
Main Script:
test/test/test/test_pymbolic.py#L832
test_coefficient_collector
AssertionError: assert {Variable('x'...able('z'), 2)} == {Variable('x'...able('z'), 2)}
Omitting 1 identical items, use -vv to show
Differing items:
{Variable('x'): Product((1, Quotient(1, 2)))} != {Variable('x'): Quotient(1, 2)}
Full diff:
{
1: Power(Variable('z'), 2),
- Variable('x'): Quotient(1, 2),
+ Variable('x'): Product((1, Quotient(1, 2))),
? ++++++++++++ ++
}
|
Main Script:
test/test/test/test_pymbolic.py#L778
test_differentiator_flags_for_nonsmooth_and_discontinuous
AssertionError: assert Product((Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))), 1)) == Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x')))
+ where Call(Lookup(Variable('math'), 'copysign'), (1, Variable('x'))) = <function sign at 0x7fc20c7b8ea0>(Variable('x'))
+ where <function sign at 0x7fc20c7b8ea0> = <module 'pymbolic.functions' from '/home/runner/work/pymbolic/pymbolic/pymbolic/functions.py'>.sign
|
Main Script:
test/test/pymbolic/mapper/differentiator.py#L78
[doctest] pymbolic.mapper.differentiator.DifferentiationMapper
|
Main Script
The operation was canceled.
|
Loading