Update hdf5/ndarray
This commit is contained in:
@@ -7,7 +7,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
sbp = { path = "../sbp", features = ["sparse"] }
|
||||
ndarray = "0.14.0"
|
||||
ndarray = "0.15.0"
|
||||
plotters = { version = "0.3.0", default-features = false, features = ["bitmap_gif", "bitmap_backend", "line_series"] }
|
||||
sprs = { version = "0.10.0", default-features = false }
|
||||
integrate = { path = "../utils/integrate" }
|
||||
|
||||
@@ -11,9 +11,6 @@ struct Field(Array1<Float>);
|
||||
impl integrate::Integrable for Field {
|
||||
type State = Array1<Float>;
|
||||
type Diff = Array1<Float>;
|
||||
fn assign(s: &mut Self::State, o: &Self::State) {
|
||||
s.assign(o)
|
||||
}
|
||||
fn scaled_add(s: &mut Self::State, o: &Self::Diff, scale: Float) {
|
||||
s.scaled_add(scale, o)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user