Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Jan 29, 2024
1 parent e2105b0 commit 0720c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/htool/basic_types/matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class Matrix {
the number of columns is set to _nbc_.
*/
void resize(const int nbr, const int nbc, T value = 0) {
if (m_data != nullptr && m_is_owning_data) {
if (m_is_owning_data) {
delete[] m_data;
}
m_data = new T[nbr * nbc];
Expand Down

0 comments on commit 0720c62

Please sign in to comment.