symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics
https://symforce.org
Apache License 2.0
1.41k stars 145 forks source link

SymEngine matrix division segfault #188

Open aaron-skydio opened 2 years ago

aaron-skydio commented 2 years ago

Describe the bug SymEngine segfaults when dividing two vectors

To Reproduce

In [1]: import symforce.symbolic as sf

In [2]: sf.V3([1,1,1])/sf.V3([2,2,2])
<sigsegv>

Expected behavior Throw some python exception