Seems that in Python the !
is not a valid character:
In [15]: list = jl.CellListMap.neighborlist!(system)
File "<ipython-input-15-59232b509f2e>", line 1
list = jl.CellListMap.neighborlist!(system)
^
SyntaxError: invalid syntax
How do you people deal with this for interoperability? Define for instance myfunc_inplace
or similar just to support that interface? Or am I missing something simpler?
neighborlist_b
should work?
https://github.com/SciML/diffeqpy#note-about-
Oh, that works. Thanks you both! (works on juliacall/pythoncall as well)
Leandro Martínez has marked this topic as resolved.
Last updated: Nov 22 2024 at 04:41 UTC