You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note how the top of the trail is cut off. Presumably the envelope is being computed incorrectly. One thing to work on short of fixing the bug is to produce a simpler trail which still exhibits the bug.
The text was updated successfully, but these errors were encountered:
This results in a call to quadForm (-13.32857142857143) 0.0 4.442857142857143, i.e. solving the equation (-13.32857142857143) x^2 + 4.442857142857143 = 0. Note that 4.442857142857143 / 13.32857142857143 is (almost) exactly 1/3, so this should have plus or minus 1 / sqrt 3 as solutions. Instead, quadForm returns [0.0,-Infinity]. I think the problem is simply that we need a special case for b = 0, since the general case clearly does not handle that (when b = 0 we get q = 0 and hence [q/a,c/q] = [0, Infinity]). I'm kind of surprised we never ran into this before (or that the quickcheck property didn't catch it).
This code:
produces this (wrong) image:
Note how the top of the trail is cut off. Presumably the envelope is being computed incorrectly. One thing to work on short of fixing the bug is to produce a simpler trail which still exhibits the bug.
The text was updated successfully, but these errors were encountered: