Browse Source

Reordered elements of SparseMatrix.h

Former-commit-id: 4af800a607
tempestpy_adaptions
PBerger 12 years ago
parent
commit
22f00bc95e
  1. 10
      src/storage/SparseMatrix.h

10
src/storage/SparseMatrix.h

@ -233,9 +233,9 @@ public:
*/
SparseMatrix(SparseMatrix&& other)
: rowCount(other.rowCount), colCount(other.colCount), nonZeroEntryCount(other.nonZeroEntryCount),
internalStatus(other.internalStatus), currentSize(other.currentSize), lastRow(other.lastRow),
valueStorage(std::move(other.valueStorage)), columnIndications(std::move(other.columnIndications)),
rowIndications(std::move(other.rowIndications)) {
rowIndications(std::move(other.rowIndications)), internalStatus(other.internalStatus),
currentSize(other.currentSize), lastRow(other.lastRow) {
// Now update the source matrix
other.rowCount = 0;
other.colCount = 0;
@ -250,11 +250,11 @@ public:
*
* @param other The Matrix from which to copy the content
*/
SparseMatrix(SparseMatrix const& other)
SparseMatrix(const SparseMatrix & other)
: rowCount(other.rowCount), colCount(other.colCount), nonZeroEntryCount(other.nonZeroEntryCount),
internalStatus(other.internalStatus), currentSize(other.currentSize),
valueStorage(other.valueStorage), columnIndications(other.columnIndications),
rowIndications(other.rowIndications), lastRow(other.lastRow) {
rowIndications(other.rowIndications), internalStatus(other.internalStatus),
currentSize(other.currentSize), lastRow(other.lastRow) {
}
/*!

Loading…
Cancel
Save