Open maxpla3 opened 1 year ago
Solutions:
Either override
int GeometricPath::dof() const { return m_dof; }
with
int Parametrizer::dof() const { return m_path->dof(); }
or (probably better, since this prevents uninitialized values) add
m_dof = path->dof();
m_configSize = path->configSize();
in the constructor Parametrizer(...)
Calling parametrizer->dof() returns undefined value.
dof_test_1 equals 4 (correct value in the test scenario)
dof_test_2 equals -842150451