implement constructor

release/4.3a0
Varun Agrawal 2024-10-09 13:08:42 -04:00
parent 1ac8a6e2e0
commit f4bf280047
1 changed files with 4 additions and 1 deletions

View File

@ -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.");
}
///@}