Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyajohnson committed Jan 11, 2024
1 parent edc7a7c commit 8e80a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdm/core/src/main/java/ucar/nc2/dataset/VariableDS.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Array convert(Array data, Set<NetcdfDataset.Enhance> enhancements) {

Array out = Array.factory(convertedType, data.getShape());
IndexIterator iterOut = out.getIndexIterator();
for (int i = 0; i < dataArray.length; i++) {
for (int i = 0; i < data.getSize(); i++) {
iterOut.setObjectNext(dataArray[i]);
}
return out;
Expand Down

0 comments on commit 8e80a91

Please sign in to comment.