Opened 8 years ago
Last modified 8 years ago
#10831 new Bugs
ublas OneElement returns 0.0
Reported by: | Owned by: | Gunter | |
---|---|---|---|
Milestone: | To Be Determined | Component: | uBLAS |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
In ublas::detail::concepts.hpp the function <template class T> OneElement(T) {
return T(0.0);
} returns 0 for all types. In older versions the function returned 1.f 1. for floats and doubles etc.
This breaks some client code. In my case the Mkl bindings (Math Kernel Library of Intel) for ublas.
Note:
See TracTickets
for help on using tickets.
Nice and quick reaction!