Merge pull request #1419 from ShuangLiu1992/patch-1
commit
7bf72c391b
|
@ -153,7 +153,7 @@ class CameraSet : public std::vector<CAMERA, Eigen::aligned_allocator<CAMERA>> {
|
||||||
* full matrices and vectors and pass it to the pointer
|
* full matrices and vectors and pass it to the pointer
|
||||||
* version of the function
|
* version of the function
|
||||||
*/
|
*/
|
||||||
template <class POINT, class... OptArgs>
|
template <class POINT, class... OptArgs, typename = std::enable_if_t<sizeof...(OptArgs)!=0>>
|
||||||
Vector reprojectionError(const POINT& point, const ZVector& measured,
|
Vector reprojectionError(const POINT& point, const ZVector& measured,
|
||||||
OptArgs&... args) const {
|
OptArgs&... args) const {
|
||||||
// pass it to the pointer version of the function
|
// pass it to the pointer version of the function
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue