Bradley Solliday
Bradley Solliday
Fixes an error which has popped up in the CI.
The `Codegen` constructor is happy to make a codegen object out of constants ``` python co = codegen.Codegen( inputs=Values(a=geo.Rot3.from_storage([1, 2, 3, 4])), outputs=Values(out=geo.Rot3.from_storage([1, 2, 3, 4])), config=codegen.CppConfig(), name="test", ) ```...
When building with a new compiler verison (gcc 11.2.0 in my case), the build fails with the below error: ``` In file included from /usr/include/signal.h:328, from /symforce/third_party/catch2/include/catch.hpp:8152, from /symforce/third_party/catch2/src/catch_amalgamated.cpp:15: /symforce/third_party/catch2/src/catch_amalgamated.cpp:3580:54:...
At the moment, there is no protection against calling `symforce.initialization.modify_symbolic_api` multiple times. However, this function is not idempotent, and will produce broken functions if applied to a `sympy` module multiple...
The following hangs indefinitely ``` python 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: ```python from...
When profiling the following code: python code being profiled ``` python from symforce import geo from symforce import sympy as sm from symforce import typing as T from symforce.opt.factor import...
This fixes the editable installation of symforce from source for setuptools>=64.0.0 This includes essentially two unrelated fixes. The first is for `cc_sym`. The editable installation expects to find `cc_sym` in...
Different version of python have different dev requirements. Previously, `dev_requirements.txt` was generated for python3.8 and assumed to work for other versions of python. That was more or less a safe...
Often times the square root information matrix is a diagonal or isotropic matrix. However, in our generated geo factors we always assume they are full dense matrices leading to many...
Previously, `geo_factors_codegen.py` was using an ad-hoc system of generating all the C++ factors into a `factors` folder. It did this by calling `Codegen.generate_function` to generate the code into a temporary...