Skip to content

Commit

Permalink
Silence uninitialized variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed May 2, 2024
1 parent b882bcf commit 650aae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion palace/drivers/basesolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ void BaseSolver::PostprocessSurfaces(const PostOperator &postop, const std::stri
for (const auto &[idx, data] : postop.GetSurfacePostOp().flux_surfs)
{
const std::complex<double> Phi = postop.GetSurfaceFlux(idx);
double scale;
double scale = 1.0;
switch (data.type)
{
case (SurfaceFluxType::ELECTRIC):
Expand Down

0 comments on commit 650aae4

Please sign in to comment.