symforce
symforce copied to clipboard
Rot3 hangs indefinitely if made from DataBuffers
The following hangs indefinitely
from symforce import sympy as sm
from symforce import geo
D = sm.DataBuffer("D")
geo.Rot3.from_storage([D, D, D, D])
Something else that hangs:
from symforce import sympy as sm
from symforce import codegen
from symforce.values import Values
D = sm.DataBuffer("D")
codegen.Codegen(
inputs=Values(d=D),
outputs=Values(out=Values(buffer=D)),
config=codegen.CppConfig(),
name="test",
)
While these are not valid uses of databuffers (at least in the first case), we would still rather have it raise an error than hang silently.