cvg / pyceres

Factor graphs with Ceres in Python
Apache License 2.0
247 stars 34 forks source link

fix python cost #23

Closed nnop closed 11 months ago

nnop commented 1 year ago

Add wrapper for protected CostFunction::set_num_residuals() with PyCostFunction::set_num_residuals() to enable writing cost function in Python.

Ref: #22

sarlinpe commented 11 months ago

Thank you very much!