Skip to content

Commit

Permalink
make print() const
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwindischhofer committed Jan 27, 2024
1 parent 8740b93 commit ddd3a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Eisvogel/NDArray.hh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public:
}

// printing
void print() {
void print() const {
for(const T& cur: m_data) {
std::cout << cur << " ";
}
Expand Down

0 comments on commit ddd3a56

Please sign in to comment.