Skip to content

Commit

Permalink
Fixed compilation error in Array2D<T>::Fill
Browse files Browse the repository at this point in the history
  • Loading branch information
wmamrak authored May 14, 2024
1 parent 43ecb7e commit a722121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/central64/grid/Array2D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Array2D<T>::Array2D(Offset2D dims, const T& value)
template <typename T>
void Array2D<T>::Fill(const T& value)
{
data_.assign(std::begin(data_), std::end(data_), value);
data_.assign(dims_.X()*dims_.Y(), value);
}

template <typename T>
Expand Down

0 comments on commit a722121

Please sign in to comment.