Ticket #3968 (closed Bugs: fixed)
coordinate_matrix broken on MSVC10
|Reported by:||Thomas Klimpel||Owned by:||guwi17|
The swap functions of "index_pair" and "index_triple" in "ublas/storage.hpp" take their argument by value instead of by reference. This is most probably a simple typo.
It doesn't lead to problems on other compilers, because either ADL is not used at all to find custom swap functions in std::sort, or iter_swap is found. MSVC10 seems to be the only compiler (std library) that misses iter_swap, but finds the broken custom swap function.