This commit is contained in:
gnembon committed 2020-06-23 00:35:04 -03:00
commit 0a5b6a5481
3 files changed
+18 -10

No files matched your search

@@ -3222,10 +3222,17 @@ public class CarpetExpression
throw new InternalExpressionException("Incorrect dimension string: "+dimString);
}
}
((CarpetContext) c).s = innerSource;
Value retval = lv.get(1).evalValue(c);
((CarpetContext) c).s = outerSource;
return (cc, tt) -> retval;
try
{
((CarpetContext) c).s = innerSource;
Value retval = lv.get(1).evalValue(c);
return (cc, tt) -> retval;
}
finally
{
((CarpetContext) c).s = outerSource;
}
});
this.expr.addLazyFunction("plop", 4, (c, t, lv) ->{