Update hdf5/ndarray
This commit is contained in:
		@@ -11,7 +11,7 @@ expensive_tests = []
 | 
			
		||||
serde1 = ["serde", "arrayvec/serde"]
 | 
			
		||||
 | 
			
		||||
[dependencies]
 | 
			
		||||
ndarray = "0.14.0"
 | 
			
		||||
ndarray = "0.15.0"
 | 
			
		||||
sbp = { path = "../sbp" }
 | 
			
		||||
arrayvec = "0.6.0"
 | 
			
		||||
serde = { version = "1.0.115", default-features = false, optional = true, features = ["derive"] }
 | 
			
		||||
 
 | 
			
		||||
@@ -227,14 +227,14 @@ impl Field {
 | 
			
		||||
 | 
			
		||||
    pub(crate) fn slice<Do: Dimension>(
 | 
			
		||||
        &self,
 | 
			
		||||
        info: &ndarray::SliceInfo<[ndarray::SliceOrIndex; 3], Do>,
 | 
			
		||||
        info: ndarray::SliceInfo<[ndarray::SliceInfoElem; 3], ndarray::Ix3, Do>,
 | 
			
		||||
    ) -> ArrayView<Float, Do> {
 | 
			
		||||
        self.0.slice(info)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub(crate) fn slice_mut<Do: Dimension>(
 | 
			
		||||
        &mut self,
 | 
			
		||||
        info: &ndarray::SliceInfo<[ndarray::SliceOrIndex; 3], Do>,
 | 
			
		||||
        info: ndarray::SliceInfo<[ndarray::SliceInfoElem; 3], ndarray::Ix3, Do>,
 | 
			
		||||
    ) -> ArrayViewMut<Float, Do> {
 | 
			
		||||
        self.0.slice_mut(info)
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user