It is my understanding that testPoissonAccuracy.m is verifying that the order of accuracy that the laplacian operator achieves is >= (k - 0.5) for k = 2, 4, 6, 8.
However, if you run lines 4 to 51 in their own file and replace lines 48 and 49 with assert(order(i) >= k - 0.5) it fails for k = 8. Why does it still pass?
My gut is telling me that it is something to do with the errors being so low (on the order of 1e-12)
Semi-related to #319, in my C++ implementation the test fails (with similar error values)
It is my understanding that
testPoissonAccuracy.mis verifying that the order of accuracy that the laplacian operator achieves is >= (k - 0.5) for k = 2, 4, 6, 8.However, if you run lines 4 to 51 in their own file and replace lines 48 and 49 with
assert(order(i) >= k - 0.5)it fails for k = 8. Why does it still pass?My gut is telling me that it is something to do with the errors being so low (on the order of 1e-12)
Semi-related to #319, in my C++ implementation the test fails (with similar error values)