re-add specialization of diss-ops
This commit is contained in:
		| @@ -1,4 +1,3 @@ | |||||||
| #![feature(min_specialization)] |  | ||||||
| #![feature(core_intrinsics)] | #![feature(core_intrinsics)] | ||||||
|  |  | ||||||
| /// Type used for floats, configure with the `f32` feature | /// Type used for floats, configure with the `f32` feature | ||||||
|   | |||||||
| @@ -128,6 +128,12 @@ impl SbpOperator2d for (Box<dyn SbpOperator2d>, Box<dyn SbpOperator2d>) { | |||||||
| } | } | ||||||
|  |  | ||||||
| impl UpwindOperator2d for (Box<dyn UpwindOperator2d>, Box<dyn UpwindOperator2d>) { | impl UpwindOperator2d for (Box<dyn UpwindOperator2d>, Box<dyn UpwindOperator2d>) { | ||||||
|  |     fn dissxi(&self, prev: ArrayView2<Float>, fut: ArrayViewMut2<Float>) { | ||||||
|  |         self.1.dissxi(prev, fut) | ||||||
|  |     } | ||||||
|  |     fn disseta(&self, prev: ArrayView2<Float>, fut: ArrayViewMut2<Float>) { | ||||||
|  |         self.0.disseta(prev, fut) | ||||||
|  |     } | ||||||
|     fn op_xi(&self) -> &dyn UpwindOperator1d { |     fn op_xi(&self) -> &dyn UpwindOperator1d { | ||||||
|         self.1.op_xi() |         self.1.op_xi() | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user