It's not a good idea to keep a reference of user inputs when constructing any object (e.g. matrix, state, etc.). C++ code should still reference as much as it can. Python wrappers just need some amending to make sure user inputs are copied and a reference is kept.
It's not a good idea to keep a reference of user inputs when constructing any object (e.g. matrix, state, etc.). C++ code should still reference as much as it can. Python wrappers just need some amending to make sure user inputs are copied and a reference is kept.