Browse Source

Fixed a dereferencing typo in GmmxxAdapter.h

Former-commit-id: 472dc3fa06
tempestpy_adaptions
PBerger 11 years ago
parent
commit
f4c9fc0825
  1. 4
      src/adapters/GmmxxAdapter.h

4
src/adapters/GmmxxAdapter.h

@ -68,10 +68,10 @@ public:
// Move Row Indications // Move Row Indications
result->jc.~vectorType_ull_t(); // Call Destructor inplace result->jc.~vectorType_ull_t(); // Call Destructor inplace
new (&result->jc) vectorType_ull_t(std::move(storm::utility::ConversionHelper::toUnsignedLongLong(&matrix.rowIndications)));
new (&result->jc) vectorType_ull_t(std::move(*storm::utility::ConversionHelper::toUnsignedLongLong(&matrix.rowIndications)));
// Move Columns Indications // Move Columns Indications
result->ir.~vectorType_ull_t(); // Call Destructor inplace result->ir.~vectorType_ull_t(); // Call Destructor inplace
new (&result->ir) vectorType_ull_t(std::move(storm::utility::ConversionHelper::toUnsignedLongLong(&matrix.columnIndications)));
new (&result->ir) vectorType_ull_t(std::move(*storm::utility::ConversionHelper::toUnsignedLongLong(&matrix.columnIndications)));
// And do the same thing with the actual values. // And do the same thing with the actual values.
result->pr.~vectorType_T_t(); // Call Destructor inplace result->pr.~vectorType_T_t(); // Call Destructor inplace
new (&result->pr) vectorType_T_t(std::move(matrix.valueStorage)); new (&result->pr) vectorType_T_t(std::move(matrix.valueStorage));

Loading…
Cancel
Save