You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the following code in Python, I'm expecting the resulting generated code to use floats because of FLOAT='True'. Instead, it looks like the generated code is still using doubles.
// QDLDL integer and float types
typedef long long QDLDL_int; /* for indices */
typedef double QDLDL_float; /* for numerical values */
typedef unsigned char QDLDL_bool; /* for boolean values */
Compiling
Running the CMakeLists.txt file, it also shows Floats are still disabled.
-- We are on a Generic system
-- Embedded is 1
-- Passing EMBEDDED flag to compiler
-- Disabling printing for embedded
-- Printing is OFF
-- Disabling profiling for embedded
-- Profiling is OFF
-- Floats are OFF
-- Disabling long integers (64bit) on 32bit machine
-- Long integers (64bit) are OFF
The text was updated successfully, but these errors were encountered:
Issue
Using the following code in Python, I'm expecting the resulting generated code to use floats because of
FLOAT='True'
. Instead, it looks like the generated code is still using doubles.Outputs the following to the console along with the generated files.
In
osqp_gen > include > osqp_configure.h
I see:In
osqp_gen > include > qdldl_types.h
I see:Compiling
Running the
CMakeLists.txt
file, it also shows Floats are still disabled.The text was updated successfully, but these errors were encountered: