ceres-solver / ceres-solver

A large scale non-linear optimization library

Home Page:http://ceres-solver.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.2.0 online doc typo

linzha0 opened this issue · comments

Hi, I just realized there are some typos for 2.2.0 online document, for example hello world:

CostFunction* cost_function =
      new AutoDiffCostFunction<CostFunctor, 1, 1>();

However, the right one should be:

  CostFunction* cost_function =
      new AutoDiffCostFunction<CostFunctor, 1, 1>(new CostFunctor);

I installed version 2.2.0 on my Ubuntu 22.04 and built the document, it's right, just the online doc somehow is wrong.

thanks for the information.