CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
68 stars 67 forks source link

Fix #264, builtin option can be safely used again with SWIG 4.0.2+ #345

Closed adundovi closed 3 years ago

adundovi commented 3 years ago

Cleaned PR (instead of #342)

Here is PR to fix #264, I've tested it with and without SWIG builtin enabled in cmake. Now, all tests pass regarding the vector3 representation, i.e., print(v), and the issue with keyword arguments. Also, the new test for checking out of range when setting or getting vector elements passes...