RobynsVeil opened this issue on Jan 24, 2009 · 490 posts
kobaltkween posted Fri, 04 December 2009 at 1:09 PM
oops, cross-post!
yeah, that's basically what i have now, just not so compactly expressed.
oh! and that first if is wrong because step is reversed. so you have to have
def IF(test, tv, fv):
return test * fv + (1 - test) * tv