#1530 scalarp bug

closed
nobody
5
2010-05-09
2008-11-17
Volker van Nek
No

(%i1) declare(x,scalar)$
(%i2) scalarp(foo(x));
(%o2) true
(%i3) scalarp(foo(1));
(%o3) false
(%i4) scalarp(foo(x,1));
(%o4) true

Only (%o3) is correct. The declared scalar seems to mislead the test.

Volker van Nek

Discussion

  • Dieter Kaiser
    Dieter Kaiser
    2010-05-09

    Fixed in simp.lisp revision 1.108.
    The examples of this bug report now give consistent results.
    Closing this bug report as fixed.
    Dieter Kaiser

     
  • Dieter Kaiser
    Dieter Kaiser
    2010-05-09

    • status: open --> closed