Skip to content

Commit

Permalink
fix segfault
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve committed Mar 15, 2024
1 parent b81863b commit b674134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int main(int argc, char **argv)
// realspace solution vector - WARNING this is
// currently infeasible to form for large problems
int dense_size = 0;
if (cli_input.get_realspace_output_freq() > 0)
if (cli_input.get_realspace_output_freq() > 0 or cli_input.get_plot_freq() > 0)
{
dense_size = asgard::dense_space_size(*pde);
expect(dense_size > 0);
Expand Down

0 comments on commit b674134

Please sign in to comment.