Skip to content

Commit

Permalink
corrected the default value of init_with_zeros_ in Array.h
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Dec 10, 2024
1 parent 3b2b84c commit 377020b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/stir/Array.h
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class Array<1, elemT> : public NumericVectorWithOffset<elemT, elemT>
*/
inline void init(const IndexRange<1>& range, elemT* const data_ptr, bool copy_data);

bool init_with_zeros_= 0;
bool init_with_zeros_= 1;
};

END_NAMESPACE_STIR
Expand Down

0 comments on commit 377020b

Please sign in to comment.