Skip to content

Commit

Permalink
Fix zero step periodic solve bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SallySoul committed Feb 4, 2025
1 parent 5d019e6 commit 7971125
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fft_solver/ap_planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ where
&mut self,
frustrum: APFrustrum<GRID_DIMENSION>,
) -> PlanNode<GRID_DIMENSION> {
println!("Generate Frustrum: {:?}", frustrum);
let solve_params = PeriodicSolveParams {
stencil_slopes: self.stencil_slopes,
cutoff: self.cutoff,
Expand All @@ -192,6 +193,7 @@ where
self.generate_direct_node(frustrum)
} else {
let periodic_solve = maybe_periodic_solve.unwrap();
println!(" -- found solve: {:?}", periodic_solve);
self.generate_periodic_node(frustrum, periodic_solve)
}
}
Expand Down

0 comments on commit 7971125

Please sign in to comment.