qsv_cumsum gives zero #2526
-
Using 2.2.1 this gives all zeros in the cumsum column. Maybe qsv_cumsum never actually got implemented? other?
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 17 replies
-
The correct syntax to use
The Lines 2218 to 2248 in 4bb5556 Moving this issue to discussions so other folks with a similar question can easily find it... |
Beta Was this translation helpful? Give feedback.
-
Is this linked to in the documentation? Suggest making that argument optional. |
Beta Was this translation helpful? Give feedback.
-
It is a generalized loop where the value of the prior iteration is fed back into the current iteration. That is, it is basically a loop iterating over the elements of a vector x such that the output vector y is recursively given by For example, if the function passed to it is addition and The lua Functional module may have some relevant code as well. Here is some lua code and some tests.
giving
|
Beta Was this translation helpful? Give feedback.
-
I tried this and got the indicated error for every line of input. What should I be doing here?
|
Beta Was this translation helpful? Give feedback.
-
Using the same qsv version as before this is what I got. I put the line in a file in case the Windows cmd line was messing up.
|
Beta Was this translation helpful? Give feedback.
-
Now it does not give any errors but the accumulate output is missing.
|
Beta Was this translation helpful? Give feedback.
-
This now works upstream after some bug fixing and making the name arg optional for all
This fix will be generally available in the v3.1.0 release. |
Beta Was this translation helpful? Give feedback.
This now works upstream after some bug fixing and making the name arg optional for all
luau
accumulator helper functions:This fix will be generally available in the v3.1.0 release.