If foreach calls a vectorized function fvec, which then calls a further function g, I get an error message saying that g can\'t be fou
foreach
fvec
g