• gdesjardins's avatar
    Fixes ticket #375. · 060fc688
    gdesjardins 提交于
    a < b < c was failing silently by generating the graph "lt(b,c)".  We now forbid
    "boolean" comparison of the return value of __lt__, __le__, __gt__, __ge__.
    We cannot forbid "boolean" comparison of TensorVariables in general, since the
    syntax "if a:" is often used instead of "if a is not None:"
    060fc688
basic.py 158.5 KB