mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
Fixing a couple of warnings
This commit is contained in:
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
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user