Update to Scalar

This commit is contained in:
henry
2008-05-01 16:37:56 +01:00
parent 2a7cfdb33d
commit 5413edb32c

View File

@ -141,7 +141,7 @@ inline Scalar sqrtSumSqr(const Scalar a, const Scalar b)
{
Scalar maga = mag(a);
Scalar magb = mag(b);
if (maga > magb)
{
return maga*sqrt(1.0 + sqr(magb/maga));