Skip to content

Commit 09de596

Browse files
authored
Assignment 0: Fix automatic answer check in Q4
1 parent 43bb45b commit 09de596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assignments/A0 - Julia Programming.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ if @isdefined(Q4)
308308
if Q4 isa Missing
309309
still_missing()
310310
elseif Q4 isa Real
311-
if Q4 == sum(p -> sum(Tuple(p[1]))*p[2], pairs(IndexCartesian(), C))# shhhhh
311+
if Q4 == sum(p -> prod(Tuple(p[1]))*p[2], pairs(IndexCartesian(), C))# shhhhh
312312
correct()
313313
else
314314
keep_working()

0 commit comments

Comments
 (0)