diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-03-04 01:19:17 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-03-04 01:21:14 -0800 |
| commit | 2127b746f0eecb657b31653ad5967623f994cbaf (patch) | |
| tree | 9df6e054410102ed620aae7b497f0dce66b6efc3 /stdlib/math.pcdt | |
| parent | f52050d53e698975d6598da86ddd99100ae70fdf (diff) | |
added any(), all(), one(). replaced not() with none()
Diffstat (limited to 'stdlib/math.pcdt')
| -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) |
