We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 43fd989 + 6dd1016 commit 6beb557Copy full SHA for 6beb557
RASP_support/rasplib.rasp
@@ -34,7 +34,7 @@ def min(a,b) {
34
}
35
36
def average(a) {
37
- return aggregate(full_s,s);
+ return aggregate(full_s,a);
38
39
40
def load_from_location(seq,location) {
@@ -58,7 +58,7 @@ def mark_last_instance(seq,val) {
58
def mark_first_instance(seq,val) {
59
has_val = seq == val;
60
find_val = select(seq,val,==);
61
- find_earlier = select(indices,indices,>);
+ find_earlier = select(indices,indices,<);
62
find_earlier_val = find_val and find_earlier;
63
has_earlier_val = has_focus(find_earlier_val);
64
return has_val and not has_earlier_val;
0 commit comments