Skip to content

Commit

Permalink
Added error msg if no angle provided
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlambert committed Oct 4, 2023
1 parent 32f2cfe commit 73d1143
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/grid_synth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,9 @@ int main(int argc, char** argv) {
std::cerr << std::fixed
<< "Duration = " << synthesizer.get_duration()
<< " seconds" << '\n';
}
else {
std::cerr << "No angle provided. Exiting.\n";
return 0;
}
}

0 comments on commit 73d1143

Please sign in to comment.