Boost C++ Libraries: Ticket #3968: coordinate_matrix broken on MSVC10 https://svn.boost.org/trac10/ticket/3968 <p> 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. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3968 Trac 1.4.3 anonymous Tue, 02 Mar 2010 01:44:22 GMT attachment set https://svn.boost.org/trac10/ticket/3968 https://svn.boost.org/trac10/ticket/3968 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">ublas_storage.patch</span> </li> </ul> Ticket Gunter Thu, 04 Mar 2010 23:01:34 GMT <link>https://svn.boost.org/trac10/ticket/3968#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3968#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60156" title="see #3968: added testcase to reproduce problem ...">[60156]</a>) see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a>: added testcase to reproduce problem </p> <p> test/sparse_view_test.cpp: test case implementation </p> <p> test/Jamfile.v2: added target for test run </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Fri, 05 Mar 2010 22:22:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3968#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3968#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60215" title="see #3968 : add missing file in yesterdays commit ...">[60215]</a>) see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a> : add missing file in yesterdays commit </p> <p> test/test_coordinate_matrix_sort.cpp: test case for problem related to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a> </p> <p> note to myself: do not commit after midnight! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Mon, 15 Mar 2010 19:59:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3968#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3968#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60623" title="see #3968 test/test_coordinate_matrix_sort.cpp: fixed wrong index in ...">[60623]</a>) see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a> test/test_coordinate_matrix_sort.cpp: fixed wrong index in check test/utils.hpp: fixed wrong exit code on failure </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Mon, 22 Mar 2010 22:21:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3968#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3968#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60780" title="storage.hpp: see #3968, applied patch to use references instead of ...">[60780]</a>) storage.hpp: see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a>, applied patch to use references instead of copies in swap implementations </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Tue, 06 Apr 2010 19:44:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3968#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3968#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61111" title="see #3968: added line to release notes ">[61111]</a>) see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a>: added line to release notes </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Tue, 06 Apr 2010 20:09:06 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3968#comment:6 https://svn.boost.org/trac10/ticket/3968#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61112" title="close #3968: merge 60156,60215,60623,60780,61111 into release ...">[61112]</a>) close <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3968" title="#3968: Bugs: coordinate_matrix broken on MSVC10 (closed: fixed)">#3968</a>: merge 60156,60215,60623,60780,61111 into release </p> <p> boost/numeric/ublas/storage.hpp libs/numeric/ublas/test/test_coordinate_matrix_sort.cpp libs/numeric/ublas/test/utils.hpp libs/numeric/ublas/test/Jamfile.v2 libs/numeric/ublas/doc/release_notes.htm </p> Ticket