Skip to content

Commit

Permalink
Remove unreachable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
doccstat committed Mar 12, 2024
1 parent 435ca55 commit 11c4002
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/fastcpd_class.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ double Fastcpd::adjust_cost_value(
}

double Fastcpd::get_cost_adjustment_value(const unsigned nrows) {
if (nrows == 0) {
return 0;
}
double adjusted = 0;
if (cost_adjustment == "MBIC" || cost_adjustment == "MDL") {
adjusted = data.n_cols * std::log(nrows) / 2;
Expand Down

0 comments on commit 11c4002

Please sign in to comment.