id summary reporter owner description type status milestone component version severity resolution keywords cc 1829 norm_2 may return QNAN if BOOST_UBLAS_SCALED_NORM is defined mortituris@… Gunter "functional.hpp contains a bug which causes norm_2 to return QNAN if the first component of a vector is zero. The bug is in the `vector_norm_2::apply` method. It can be fixed by adding `if (0 == u) continue;` line before {{{ if (scale < u) { real_type v (scale / u); sum_squares = sum_squares * v * v + real_type (1); scale = u; } else { real_type v (u / scale); sum_squares += v * v; } }}} " Bugs closed Boost 1.36.0 uBLAS Boost 1.35.0 Problem fixed