Skip to content

Commit

Permalink
Update distribution.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique authored Jul 15, 2020
1 parent 8f66f5c commit 79d8ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/distribution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2627,7 +2627,7 @@ namespace statiskit
{ throw std::exception(); }
}
}
p = _sum->ldf(sum) + _singular->probability(event, logarithm);
p = _sum->ldf(sum) + _singular->probability(event, true);
}
catch(const std::exception& error)
{ p = log(0.); }
Expand Down

0 comments on commit 79d8ec0

Please sign in to comment.