fix SmartFactorBase as well

release/4.3a0
ShuangLiu1992 2023-01-27 16:43:27 +00:00
parent 91b6625405
commit 4929827f70
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ protected:
* to the matrices and vectors that will be used to store the results instead * to the matrices and vectors that will be used to store the results instead
* of pointers. * of pointers.
*/ */
template<class POINT, class ...OptArgs> template<class POINT, class ...OptArgs, typename = std::enable_if_t<sizeof...(OptArgs)!=0>>
Vector unwhitenedError( Vector unwhitenedError(
const Cameras& cameras, const POINT& point, const Cameras& cameras, const POINT& point,
OptArgs&&... optArgs) const { OptArgs&&... optArgs) const {