Skip to content

Commit

Permalink
implement constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Oct 9, 2024
1 parent 1ac8a6e commit f4bf280
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gtsam/hybrid/HybridGaussianProductFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ class GTSAM_EXPORT HybridGaussianProductFactor
/// Deleted constructor since we don't have istream operator for
/// GaussianFactorGraphValuePair
HybridGaussianProductFactor(const std::vector<DiscreteKey>& labelCs,
const std::string& table) = delete;
const std::string& table) {
throw std::runtime_error(
"HybridGaussianProductFactor: No way to construct.");
}

///@}

Expand Down

0 comments on commit f4bf280

Please sign in to comment.