SerializeRenderer: render to GenericSim, not StaticSim

This commit is contained in:
2022-07-29 13:27:05 -07:00
parent 95213e61be
commit 604f368f0d
4 changed files with 23 additions and 28 deletions

View File

@@ -110,7 +110,7 @@ impl<R: Real> CellStateWithM<R> {
// TODO: the Sync bound here could be removed with some refactoring
pub trait AbstractSim: Sync {
type Real;
type Real: Real;
type Material;
fn meta(&self) -> SimMeta<f32>;
fn step_no(&self) -> u64;