Search
Description
When a function or a procedure contains numerical stuff that involves a variable (eval(...), if(...), etc...), the function can't be passed as argument to another function without defining the variable.
Simpler test case attached.
Workaround here.