6 ms·
Nice project! I have a few qualms with the instructions (sometimes misleading or unclear) and the implementation. For instance some problems fail, because 0. is
by drfunk 2y ago
Nice project! I have a few qualms with the instructions (sometimes misleading or unclear) and the implementation. For instance some problems fail, because 0. is considered different from 0.0
Using np.testing.assert_allclose in your asserts would solve this I think (https://numpy.org/doc/stable/reference/generated/numpy.testing.assert_allclose.html https://numpy.org/doc/stable/reference/generated/numpy.testi...).
Happy to contribute / elaborate if you think it's be useful! :)
- mchab 2y agoThank you for the help! Will definitely try this instead of my current method, if you’d like you could join the discord https://discord.gg/s4uVTQwk https://discord.gg/s4uVTQwk and let me know if you have any other ideas