formatting
parent
35e1e6102f
commit
bc449c1a45
|
@ -17,9 +17,9 @@
|
|||
|
||||
#include <gtsam/base/Testable.h>
|
||||
#include <gtsam/base/debug.h>
|
||||
#include <gtsam/discrete/TableDistribution.h>
|
||||
#include <gtsam/discrete/Ring.h>
|
||||
#include <gtsam/discrete/Signature.h>
|
||||
#include <gtsam/discrete/TableDistribution.h>
|
||||
#include <gtsam/hybrid/HybridValues.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -90,8 +90,7 @@ void TableDistribution::print(const string& s,
|
|||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
bool TableDistribution::equals(const DiscreteFactor& other,
|
||||
double tol) const {
|
||||
bool TableDistribution::equals(const DiscreteFactor& other, double tol) const {
|
||||
auto dtc = dynamic_cast<const TableDistribution*>(&other);
|
||||
if (!dtc) {
|
||||
return false;
|
||||
|
@ -112,8 +111,7 @@ DiscreteConditional::shared_ptr TableDistribution::max(
|
|||
}
|
||||
|
||||
/* ****************************************************************************/
|
||||
void TableDistribution::setData(
|
||||
const DiscreteConditional::shared_ptr& dc) {
|
||||
void TableDistribution::setData(const DiscreteConditional::shared_ptr& dc) {
|
||||
if (auto dtc = std::dynamic_pointer_cast<TableDistribution>(dc)) {
|
||||
this->table_ = dtc->table_;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue