79451477

Date: 2025-02-19 13:25:30
Score: 1
Natty:
Report link

Bro the discrepancy (2.8820544184511335e-19) is simply a result of floating point arithmetic, and not because of np.linspace or np.savez or even solve_ivp. Even when you use identical expressions in different parts of your code, the limited precision of floating point representation (and the way operations like division and multiplication are performed) can introduce such minuscule differences.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shoaib Nigam