impossible to use >p operator in jit.expr?

Jean-Francois Charles's icon
Jean-Francois Charles's icon

A workaround is obvious : expr "in[0]*(in[0]>0.3)", for example. Anyway, the
question remains.

nesa's icon

hello,

i can confirm >p jit.expr behavior on xp/pc (before those shiny new macs i
thought its enough to say 'xp')

if i understood the problem correctly,
one workaround could be:

jit.expr @expr "(norm[0] > 0.3)*norm[0]"

or

jit.expr @expr "(norm[0] > 0.3)*in[0]"

best,
nesa

Joshua Kit Clayton's icon

The ">p" infix operator doesn't work with the jit.expr parser.
However the prefix gtp(x,y) "greater than pass" should work (haven't
verified, but programmed it to work that way). Similar for other
logical pass operators.

Let us know your findings.

Thanks,
Joshua

Jean-Francois Charles's icon