The tool was still broken after the previous fix, even though it didn't
crash any more.
Fixed now by providing the correct sizes for the matrix.
Fixes #3444
Change-Id: I6b59bbdd5e69ff2c311ff4c8457037c9310b081f
:issue:`3547`
+Actually fix gmx do_dssp
+""""""""""""""""""""""""
+
+The tool was still broken and gave incorrect results after the previous fix.
+
+:issue:`3444`
+
Fixes that affect portability
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bFirst = false;
}
mat->axis_x.push_back(t);
- mat->matrix.resize(mat->matrix.extent(0), nr);
- mat->nx = mat->matrix.extent(0);
+ mat->matrix.resize(++(mat->nx), nr);
auto columnIndex = mat->nx - 1;
for (int i = 0; i < nr; i++)
{