Skip to content

Commit

Permalink
removes warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTinni committed Nov 8, 2024
1 parent d2e4300 commit a32a37b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/chaos/BernoulliSequence.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class BernoulliSequence : public Sequence
}
template <std::invocable<> Func> Fail &with(Func f, double weight = 1.0)
{
if (!f)
return *this;
exceptions.push_back(std::move(f));
weights.push_back(weight);
return *this;
Expand Down

0 comments on commit a32a37b

Please sign in to comment.