Boost C++ Libraries: Ticket #10750: bad interaction between ublas, float128 and std::complex https://svn.boost.org/trac10/ticket/10750 <p> The following code fails to compile: </p> <pre class="wiki">#include &lt;boost/multiprecision/float128.hpp&gt; #include &lt;boost/numeric/ublas/lu.hpp&gt; using boost::multiprecision::float128; int main () { boost::numeric::ublas::matrix &lt;std::complex&lt;float128&gt;&gt; A(1,1); lu_factorize(A); } </pre><p> (on OSX 10.10 using g++-4.9 -fext-numeric-literals -lquadmath), I am getting a huge complaint about missing <code>operator&lt;</code> at <code>numeric/ublas/detail/matrix_assign.hpp:33:35</code>. Things work perfectly with a matrix of float128, or a matrix of std::complex&lt;double&gt;. And other operations work with std::complex&lt;float128&gt;. </p> <p> Is std::complex&lt;float128&gt; supposed to work? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10750 Trac 1.4.3 vbeffara@… Tue, 04 Nov 2014 23:22:06 GMT <link>https://svn.boost.org/trac10/ticket/10750#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10750#comment:1</guid> <description> <p> BTW, adding </p> <pre class="wiki">#define BOOST_UBLAS_TYPE_CHECK 0 </pre><p> makes it compile. but I kind of found out about that by accident ... </p> </description> <category>Ticket</category> </item> </channel> </rss>