1

Finally, the suggestion from Michael E2 worked perfectly. The solution was to use Block[] as follows: test[x0_?NumericQ, IntL_] := Block[{x = x0}, NIntegrate[f[x, y], IntL]] This allowed for a simple implementation finally. Thanks a lot! Pablo


Only top voted, non community-wiki answers of a minimum length are eligible