Skip to content

Commit

Permalink
Removed stale assert
Browse files Browse the repository at this point in the history
  • Loading branch information
dellaert committed Jun 1, 2019
1 parent 495a840 commit e7f4169
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions gtsam/linear/GaussianBayesTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ namespace gtsam {
namespace internal
{
/* ************************************************************************* */
double logDeterminant(const GaussianBayesTreeClique::shared_ptr& clique, double& parentSum)
{
parentSum += clique->conditional()->R().diagonal().unaryExpr(std::ptr_fun<double,double>(log)).sum();
assert(false);
return 0;
}
double logDeterminant(const GaussianBayesTreeClique::shared_ptr& clique,
double& parentSum) {
parentSum += clique->conditional()
->R()
.diagonal()
.unaryExpr(std::ptr_fun<double, double>(log))
.sum();
return 0;
}
}

/* ************************************************************************* */
Expand Down

0 comments on commit e7f4169

Please sign in to comment.