Skip to content

Commit 4784231

Browse files
Fix variable naming conflict in optimization_basics.jl - issue #31
Co-authored-by: andrewrosemberg <[email protected]>
1 parent 204aff5 commit 4784231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class01/background_materials/optimization_basics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ begin
723723
# Decide which badge to show
724724
if ismissing(ansd) # nothing yet
725725
still_missing()
726-
elseif x == 25.0
726+
elseif ansd == 25.0
727727
correct()
728728
else
729729
keep_working()

0 commit comments

Comments
 (0)