Help interpreting this error #1469
Unanswered
rithik-raja
asked this question in
Q&A
Replies: 1 comment 1 reply
-
What is line 51 in your program? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use a
Map reduce
in myparallelReduce
invariant, I get an error that I can't seem to make sense of.This seems to happen when I do something like
sumOfVars == vars.sum()
in the invariant.The way I update each is
vars[this] = fromSome(vars[this], 0) + increment
and the corresponding return statement is
return [..., sumOfVars + increment, ...]
So assuming my logic is correct, what is going wrong?
Beta Was this translation helpful? Give feedback.
All reactions