Skip to content

Commit

Permalink
nc: values -> get_values
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Aug 8, 2024
1 parent 1b24a7a commit 7d4e2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/idx/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ mod tests {
let mut r = i.reader("SST").unwrap();
let iv = r.values::<f32, _>(..).unwrap();

let nv = f.variable("SST").unwrap().values::<f32, _>(..).unwrap();
let nv = f.variable("SST").unwrap().get_values::<f32, _>(..).unwrap();

assert_eq!(iv, nv);
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
//! use hidefix::prelude::*;
//!
//! let f = netcdf::open("tests/data/coads_climatology.nc4").unwrap();
//! let nv = f.variable("SST").unwrap().values::<f32, _>(..).unwrap();
//! let nv = f.variable("SST").unwrap().get_values::<f32, _>(..).unwrap();
//!
//! let i: Index = (&f).try_into().unwrap();
//! let iv = i.reader("SST").unwrap().values::<f32, _>(..).unwrap();
Expand Down

0 comments on commit 7d4e2b8

Please sign in to comment.