X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmatrix.cpp;h=4c25d12bce11caf2266b9c4c6ccade7a6a37a659;hp=e24f644741d6be1745c610020d314b5c338cf7ac;hb=172d1d7b2a12e2b3b6ff4ff35c37aeccafed3edb;hpb=a68aee97d9ebdac8a6ac81f1e41961e6bc792468 diff --git a/ginac/matrix.cpp b/ginac/matrix.cpp index e24f6447..4c25d12b 100644 --- a/ginac/matrix.cpp +++ b/ginac/matrix.cpp @@ -1205,7 +1205,7 @@ ex matrix::determinant_minor() const Pkey[j] = Pkey[j-1]+1; } while(fc); // next column, so change the role of A and B: - A = B; + A.swap(B); B.clear(); }