|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-01-23 17:39:16
Hello again,
See below for a small patch to libs/math/quaternion/HSO3SO4.cpp that allows
it to compile/run for GCC 2.95.x. I can check this in if you approve of it.
Doug
Index: HSO3.hpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/math/quaternion/HSO3.hpp,v
retrieving revision 1.2
diff -c -3 -p -r1.2 HSO3.hpp
*** HSO3.hpp 2001/09/26 21:29:40 1.2
--- HSO3.hpp 2002/01/23 22:37:36
***************
*** 19,25 ****
#define TEST_HSO3_HPP
#include <algorithm>
! #include <limits>
#include <stdexcept>
#include <string>
--- 19,25 ----
#define TEST_HSO3_HPP
#include <algorithm>
! #include <boost/limits.hpp>
#include <stdexcept>
#include <string>
*************** template<typename TYPE_FLOAT>
*** 414,425 ****
::boost::math::quaternion<TYPE_FLOAT> R3_rotation_to_quaternion(
R3_matrix<TYPE_FLOAT> const & rot,
::boost::math::quaternion<TYPE_FLOAT> const * hint = 0)
{
using ::std::abs;
using ::std::sqrt;
using ::std::numeric_limits;
- using ::boost::math::abs;
if (!is_R3_rotation_matrix(rot))
{
--- 414,425 ----
::boost::math::quaternion<TYPE_FLOAT> R3_rotation_to_quaternion(
R3_matrix<TYPE_FLOAT> const & rot,
::boost::math::quaternion<TYPE_FLOAT> const * hint = 0)
{
+ using ::boost::math::abs;
using ::std::abs;
using ::std::sqrt;
using ::std::numeric_limits;
if (!is_R3_rotation_matrix(rot))
{
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk