Boost C++ Libraries: Ticket #10762: fixed_matrix &operator = (matrix m) wrong parameter https://svn.boost.org/trac10/ticket/10762 <p> Software was not tested! Error in C:\Boost\include\boost-1_57\boost\numeric\ublas\matrix.hpp line 1387 fixed_matrix &amp;operator = (matrix m) {.. is wrong. Correct is: fixed_matrix &amp;operator = (fixed_matrix m) { </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10762 Trac 1.4.3 James Benze Thu, 06 Nov 2014 14:48:21 GMT <link>https://svn.boost.org/trac10/ticket/10762#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10762#comment:1</guid> <description> <p> Can confirm, I'm experiencing this issue as well. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>James Benze</dc:creator> <pubDate>Thu, 06 Nov 2014 14:53:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10762#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10762#comment:2</guid> <description> <p> Problem is fixed by changing </p> <pre class="wiki">fixed_matrix &amp; operator=(matrix m) </pre><p> to </p> <pre class="wiki">fixed_matrix &amp; operator=(fixed_matrix m) </pre><p> Although based on the comment that this is supposed to be a move-assignment operator, the author probably really wants </p> <pre class="wiki">fixed_matrix &amp; operator=(fixed_matrix &amp;&amp; m) </pre><p> Otherwise...well I'm not sure how that would overload with the copy-assignment operator. Probably not nicely. </p> <p> Gimmie a few minutes and I'll generate up a patch. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>James Benze</dc:creator> <pubDate>Thu, 06 Nov 2014 15:28:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10762#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10762#comment:3</guid> <description> <p> Sorry for the delay, I didn't realize boost had completed the migration to git...I was bumming around the svn server, trying to figure out where all the commits went. </p> <p> I made a pull request and committed it to the ublas repository...I can't link it because I guess trac doesn't let people without IDs like myself send external links, but it's pull request number 15. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>James Benze</dc:creator> <pubDate>Thu, 06 Nov 2014 15:29:55 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/10762 https://svn.boost.org/trac10/ticket/10762 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0001-Fix-typo-in-fixed_matrix-move-assignment.patch</span> </li> </ul> Ticket James Benze Thu, 06 Nov 2014 15:30:31 GMT <link>https://svn.boost.org/trac10/ticket/10762#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10762#comment:4</guid> <description> <p> And there's a patch version of the pull request as well, just for completeness :-) </p> </description> <category>Ticket</category> </item> <item> <author>James Benze <benzejaa@…></author> <pubDate>Fri, 08 May 2015 20:20:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10762#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10762#comment:5</guid> <description> <p> Patch has been accepted and the bug is fixed in the development version. This bug can be closed by someone that has the ability to close tickets. </p> </description> <category>Ticket</category> </item> </channel> </rss>