Skip to content

Commit

Permalink
fix rcpp data
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineStawitz-NOAA committed Sep 12, 2024
1 parent 77ac501 commit 55e897c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/include/interface/rcpp/rcpp_objects/rcpp_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class LengthCompDataInterface : public DataInterfaceBase {
for (int y = 0; y < ymax; y++) {
for (int l = 0; l < lmax; l++) {
int i_length_year = y * lmax + l;
length_comp_data->at(y, a) = this->length_comp_data[i_length_year];
length_comp_data->at(y, l) = this->length_comp_data[i_length_year];
}
}

Expand Down

0 comments on commit 55e897c

Please sign in to comment.