Skip to content

Commit

Permalink
Added default returns to address some compiler warnings (treated as e…
Browse files Browse the repository at this point in the history
…rrors in the PR testing).
  • Loading branch information
CamelliaDPG committed Apr 22, 2022
1 parent e8f1e45 commit 8028baa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadrature(FormulationCh
return performStandardQuadratureHCURL<Scalar, BasisFamily>(geometry, polyOrder, worksetSize, transformIntegrateFlopCount, jacobianCellMeasureFlopCount);
case L2:
return performStandardQuadratureHVOL<Scalar, BasisFamily>(geometry, polyOrder, worksetSize, transformIntegrateFlopCount, jacobianCellMeasureFlopCount);
default:
return Intrepid2::ScalarView<Scalar,DeviceType>();
}
}

Expand All @@ -240,6 +242,8 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStructuredQuadrature(Formulation
return performStructuredQuadratureHCURL<Scalar, BasisFamily>(geometry, polyOrder, worksetSize, transformIntegrateFlopCount, jacobianCellMeasureFlopCount);
case L2:
return performStructuredQuadratureHVOL<Scalar, BasisFamily>(geometry, polyOrder, worksetSize, transformIntegrateFlopCount, jacobianCellMeasureFlopCount);
default:
return Intrepid2::ScalarView<Scalar,DeviceType>();
}
}

Expand Down

0 comments on commit 8028baa

Please sign in to comment.