Jeff Fessler
Jeff Fessler
Actually Matlab does have block comments using `%{` and `%}` https://www.mathworks.com/help/matlab/matlab_prog/comments.html They are quite useful both for commenting out code blocks and for making "longer" comments more readable. But "longer"...
It may be helpful to use `@.` to coalesce the broadcasting operations. https://docs.julialang.org/en/v1/base/arrays/#Base.Broadcast.@__dot__ For example: https://github.com/JuliaFirstOrder/ProximalOperators.jl/blob/5b2845a2d34f61a4e002ee28801ae1de5da8639f/src/functions/normL1.jl#L127
I also would prefer that Unitful respect the precision when possible. Here is another MWE of the issue, and a partial solution. The partial solution specializes `uconvert` for element types...
bump :)
I was a bit surprised myself that `isapprox` works for a vector of vectors, or even an array of arrays, but it does. These work fine: ```julia [ones(3,2), ones(1,4)] ≈...
> Why not doing the change in the same PR so you'd actually test it? I was trying to follow this guidance: https://github.com/SciML/ColPrac#guidance-on-contributing-prs "PRs should do a single thing, so...
I am fine with integer valued points but it would help to be able to include "0" points as an option, because for practice quizzes it is it more clear...
If anyone (like @jlgraves-ubc) wants to just do this for themselves, simply change line 218 in `quiz.py` from `if points_num
Update: it is a good thing I left the above note for myself because sure enough I am back here trying to remember how to allow 0 point answers. In...
> Could this change explain why I'm now getting "Latex:p" in my quiz questions when I use "$p$ in my .md file? @mikegilchrist if you provide a MWE here then...