Subject: [Boost-bugs] [Boost C++ Libraries] #10750: bad interaction between ublas, float128 and std::complex
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-04 23:15:58
#10750: bad interaction between ublas, float128 and std::complex
------------------------------+---------------------
Reporter: vbeffara@⦠| Owner: guwi17
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uBLAS
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
The following code fails to compile:
{{{
#include <boost/multiprecision/float128.hpp>
#include <boost/numeric/ublas/lu.hpp>
using boost::multiprecision::float128;
int main () {
boost::numeric::ublas::matrix <std::complex<float128>> A(1,1);
lu_factorize(A);
}
}}}
(on OSX 10.10 using g++-4.9 -fext-numeric-literals -lquadmath), I am
getting a huge complaint about missing `operator<` at
`numeric/ublas/detail/matrix_assign.hpp:33:35`. Things work perfectly with
a matrix of float128, or a matrix of std::complex<double>. And other
operations work with std::complex<float128>.
Is std::complex<float128> supposed to work?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10750> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC