Skip to content

Commit

Permalink
debug conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Dec 16, 2024
1 parent 37f6de7 commit df0f597
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gtsam/discrete/TableFactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ DecisionTreeFactor TableFactor::toDecisionTreeFactor() const {
ss << keyValueForIndex(key, i);
}
// k will be in reverse key order already
uint64_t k = std::stoll(ss.str().c_str());
uint64_t k;
ss >> k;
std::cout << "ss: " << ss.str() << ", k=" << k << std::endl;
pair_table.push_back(std::make_pair(k, sparse_table_.coeff(i)));
}

Expand Down

0 comments on commit df0f597

Please sign in to comment.