driver: rename new_with_state -> new

This commit is contained in:
2022-07-28 01:59:11 -07:00
parent a6fb21d892
commit fe47eb09f8
7 changed files with 15 additions and 17 deletions

View File

@@ -390,7 +390,7 @@ fn run_sim(id: u32, p: Params, g: Geometries) -> Results {
p.clock_type,
);
let mut driver = Driver::new_with_state(SpirvSim::<f32, Mat, WgpuBackend>::new(
let mut driver = Driver::new(SpirvSim::<f32, Mat, WgpuBackend>::new(
g.dim.to_index(p.geom.feat_size), p.geom.feat_size
));
driver.set_steps_per_stim(1000);