Boost logo

Ublas :

Subject: Re: [ublas] using intervals.
From: David Bellot (david.bellot_at_[hidden])
Date: 2014-11-03 03:39:30


Hi Joaquim,

I can't find your pull request on git hub regarding the "interval" change.
Cheers,
David

On Sun, Nov 2, 2014 at 2:50 PM, Joaquim Duran <jduran.gm_at_[hidden]> wrote:

> I've committed the fix.
>
>
> 2014-11-02 1:10 GMT+01:00 Joaquim Duran <jduran.gm_at_[hidden]>:
> > Hello,
> >
> > Today I've compiled the bench5 using bjam which has been finished with
> > an error. This was caused because BOOST_UBLAS_USE_INTERVAL was defined
> > in bench5 bjam file (I didn't defined it in qmake build system). I've
> > fixed the compilation error by applying the attached patch.
> >
> > Could BOOST_UBLAS_USE_INTERVAL be defined?
> >
> > The message of the error was:
> >
> > [qduran_at_localhost bench5]$
> /home/qduran/devel/modular-boost-warning-test/b2
> > Performing configuration checks
> >
> > - symlinks supported : yes (cached)
> > ...patience...
> > ...found 1772 targets...
> > ...updating 2 targets...
> > gcc.compile.c++
> >
> ../../../../../bin.v2/libs/numeric/ublas/benchmarks/bench5/gcc-4.8.3/debug/assignment_bench.o
> > In file included from
> > ../../../../../boost/numeric/ublas/expression_types.hpp:15:0,
> > from
> > ../../../../../boost/numeric/ublas/vector_expression.hpp:16,
> > from
> ../../../../../boost/numeric/ublas/assignment.hpp:11,
> > from assignment_bench.cpp:9:
> > ../../../../../boost/numeric/ublas/traits.hpp:383:24: error:
> > ‘interval’ is not a member of ‘boost::numeric’
> > struct type_traits<boost::numeric::interval<float> > :
> > scalar_traits<boost::numeric::interval<float> > {
> > ^
> > ../../../../../boost/numeric/ublas/traits.hpp:383:24: error:
> > ‘interval’ is not a member of ‘boost::numeric’
> > ../../../../../boost/numeric/ublas/traits.hpp:383:54: error: template
> > argument 1 is invalid
> > struct type_traits<boost::numeric::interval<float> > :
> > scalar_traits<boost::numeric::interval<float> > {
> > ^
> > ../../../../../boost/numeric/ublas/traits.hpp:383:56: error: expected
> > unqualified-id before ‘>’ token
> > struct type_traits<boost::numeric::interval<float> > :
> > scalar_traits<boost::numeric::interval<float> > {
> > ^
> > ../../../../../boost/numeric/ublas/traits.hpp:393:24: error:
> > ‘interval’ is not a member of ‘boost::numeric’
> > struct type_traits<boost::numeric::interval<double> > :
> > scalar_traits<boost::numeric::interval<double> > {
> > ^
> > [...]
> >
> > Joaquim Duran
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: david.bellot_at_[hidden]