diff options
Diffstat (limited to 'stdlib')
| -rw-r--r-- | stdlib/math.pcdt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/math.pcdt b/stdlib/math.pcdt index 3f375ae..99dd937 100644 --- a/stdlib/math.pcdt +++ b/stdlib/math.pcdt @@ -1,7 +1,7 @@ store( ref(( store(0, "last") - if(not(eq(arg0, 1)) + if(none(eq(arg0, 1)) update(multiply(sub(arg0, 1), arg1), "last") ) sum(arg1, last) |
