Boost logo

Ublas :

From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2008-04-10 05:17:02


Hi!

With boost-1.35.0 I ran into troubles. VC8 complains:

[...]boost\numeric\ublas\traits.hpp(97) : error C2784:
'boost::numeric::interval<T,Policies> boost::numeric::sqrt(const
boost::numeric::interval<T,Policies> &)' : could not deduce template
argument for 'const boost::numeric::interval<T,Policies> &'
from 'const double'

[...]boost\numeric\interval\arith2.hpp(198) : see declaration of
'boost::numeric::sqrt'
1>
[...]boost\numeric\ublas\traits.hpp(93) : while compiling class template
member function 'double boost::numeric::ublas::scalar_traits<T>::type_sqrt
(const double &)'
1> with
1> [
1> T=double
1> ]
1> boost\numeric\ublas\traits.hpp(151) : see reference to class template
instantiation 'boost::numeric::ublas::scalar_traits<T>' being compiled
1> with
1> [
1> T=double
1> ]
1> [...]boost_1_35_0\boost\numeric\ublas\traits.hpp(97):
fatal error C1903: unable to recover from previous error(s);
stopping compilation

Any idea?
I am trying to create a small example to reproduce this, but maybe it is a
minor issue which can be fixed easily.

Markus