Fixing a couple of warnings

This commit is contained in:
David Landa Marban committed 2026-03-31 13:56:01 +02:00
1 parent 8459d42025
commit d59ddcfbca
2 files changed
+2 -3

No files matched your search

@@ -134,7 +134,7 @@ public:
[[maybe_unused]] const PrimaryVariables& priVars,
[[maybe_unused]] unsigned globalSpaceIndex,
[[maybe_unused]] unsigned timeIdx,
const ParamCache& paramCache)
[[maybe_unused]] const ParamCache& paramCache)
{
throw std::logic_error("updateEnergyQuantities_ not implemented "
"SequentialImplicitThermal can not be used with"
+1 -2
View File
@@ -141,8 +141,7 @@ void setupLaplacian(Dune::BCRSMatrix<B,Alloc>& A, int N)
setupSparsityPattern(A,N);
B diagonal(static_cast<FieldType>(0)), bone(static_cast<FieldType>(0)),
beps(static_cast<FieldType>(0));
B diagonal(static_cast<FieldType>(0)), bone(static_cast<FieldType>(0));
for(typename B::RowIterator b = diagonal.begin(); b != diagonal.end(); ++b)
b->operator[](b.index())=4;