Join Nostr
2025-10-15 22:43:52 UTC

Stephen Brooks 🦆 on Nostr: Fixed some well-hidden simulation bugs. One was putting the magnetic gradient dB/dx ...

Fixed some well-hidden simulation bugs. One was putting the magnetic gradient dB/dx where the magnetic field B should be. The other was using u^v to write vector cross product in C, but precedence means a+u^v evaluates as (a+u)^v, so I needed brackets! #physics #accelerators