fix bench+sparse builds

This commit is contained in:
2021-01-25 23:58:50 +01:00
parent 53acd300ce
commit ddfddbd33f
3 changed files with 13 additions and 3 deletions

View File

@@ -9,7 +9,10 @@ fn advance_system<SBP: SbpOperator2d>(universe: &mut System<SBP>, n: usize) {
}
}
fn advance_system_upwind<UO: UpwindOperator2d>(universe: &mut System<UO>, n: usize) {
fn advance_system_upwind<UO: SbpOperator2d + UpwindOperator2d>(
universe: &mut System<UO>,
n: usize,
) {
for _ in 0..n {
universe.advance_upwind(0.01);
}