comparison Framework/Toolbox/LinearAlgebra.cpp @ 160:e9dae7e7bffc wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Feb 2018 09:18:06 +0100
parents 0a73d76333db
children 197a5ddaf68c
comparison
equal deleted inserted replaced
159:0a73d76333db 160:e9dae7e7bffc
238 238
239 using namespace boost::numeric::ublas; 239 using namespace boost::numeric::ublas;
240 240
241 const Matrix check = prod(trans(q), q) - identity_matrix<double>(3); 241 const Matrix check = prod(trans(q), q) - identity_matrix<double>(3);
242 242
243 typename type_traits<double>::real_type norm = norm_inf(check); 243 type_traits<double>::real_type norm = norm_inf(check);
244 244
245 return (norm <= threshold); 245 return (norm <= threshold);
246 } 246 }
247 247
248 248