Boost C++ Libraries: Ticket #10831: ublas OneElement returns 0.0 https://svn.boost.org/trac10/ticket/10831 <p> In ublas::detail::concepts.hpp the function &lt;template class T&gt; <a class="missing wiki">OneElement</a>(T) { </p> <blockquote> <p> return T(0.0); </p> </blockquote> <p> } returns 0 for all types. In older versions the function returned 1.f 1. for floats and doubles etc. </p> <p> This breaks some client code. In my case the Mkl bindings (Math Kernel Library of Intel) for ublas. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10831 Trac 1.4.3 anonymous Wed, 14 Jan 2015 13:23:57 GMT <link>https://svn.boost.org/trac10/ticket/10831#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10831#comment:1</guid> <description> <p> Nice and quick reaction! </p> </description> <category>Ticket</category> </item> </channel> </rss>