Skip to content

Commit

Permalink
add unused case to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arlauwer committed Feb 7, 2025
1 parent 1432ab8 commit b294159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SKIRT/core/ImportedSourceLuminosityProbe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,15 @@ void ImportedSourceLuminosityProbe::probeImportedSources(const vector<const Impo
{
switch (style)
{
case Style::Sample:
throw FATALERROR("convolve option is not compatible with style Sample");
break;
case Style::Average:
storedLuminosities(ell, h, m) = sources[h]->meanSpecificLuminosity(bin[ell], m);
break;
case Style::Convolve:
storedLuminosities(ell, h, m) = sources[h]->meanSpecificLuminosity(band[ell], m);
break;
default: break;
}
}
log->infoIfElapsed(progress, currentChunkSize);
Expand Down

0 comments on commit b294159

Please sign in to comment.