Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
principejavier committed Oct 6, 2024
1 parent a6c6b23 commit a78d6a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Exams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ function question(::Nothing, msg, var, unitname=""; factor1=rand2(), factor2=1.2
res = val2latex(val)
msg = replace(msg, "unitname" => latex_unit)
println(msg*" Result: $res")
return ""
end

function question(format::PrintedQuestion, msg, var, unitname=""; factor1=rand2(), factor2=1.2 + 0.2 * rand(), factor3=0.6 + 0.2 * rand(), factor4=1.6 + 0.2 * rand(),num_digits=4)
Expand Down

0 comments on commit a78d6a5

Please sign in to comment.