Skip to content

Commit 95a0de6

Browse files
committed
again fixing compiler warnings (this time: )nused variables)
1 parent 2e03bfb commit 95a0de6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/pfasst/encap/encap_sweeper.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ namespace pfasst
193193
*/
194194
virtual void reevaluate(bool initial_only=false)
195195
{
196+
UNUSED(initial_only);
196197
throw NotImplementedYet("sweeper");
197198
}
198199

@@ -228,6 +229,7 @@ namespace pfasst
228229
*/
229230
virtual void residual(time dt, vector<shared_ptr<Encapsulation<time>>> dst) const
230231
{
232+
UNUSED(dt); UNUSED(dst);
231233
throw NotImplementedYet("residual");
232234
}
233235

@@ -241,6 +243,7 @@ namespace pfasst
241243
if (this->abs_residual_tol > 0.0 || this->rel_residual_tol > 0.0) {
242244
if (this->residuals.size() == 0) {
243245
for (auto x: this->get_nodes()) {
246+
UNUSED(x);
244247
this->residuals.push_back(this->get_factory()->create(pfasst::encap::solution));
245248
}
246249
}

include/pfasst/encap/imex_sweeper.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ namespace pfasst
309309

310310
void predict_without_left(bool initial)
311311
{
312+
UNUSED(initial);
312313
time dt = this->get_controller()->get_time_step();
313314
time t = this->get_controller()->get_time();
314315
time ds;

0 commit comments

Comments
 (0)