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
Turns out this is a bit weird.
For some reason the definition of massof is now inside the APCdef macro, which I don't think it should be.
Furthermore, it's defined as a constant, rather than a function. This is true for chargeof as well. Did I miss a conversation about this? It makes more sense to me that the massof and chargeof functions get defined with the other particle functions and exported.
I'll do that in a branch and we can talk about it next week
Right now,
massof(Species())
andchargeof(Species())
just return 0. Throwing an error would make the code much safer. Anyone have any objections?The text was updated successfully, but these errors were encountered: