Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Hybrid Fixes #1866

Merged
merged 12 commits into from
Oct 9, 2024
Merged

More Hybrid Fixes #1866

merged 12 commits into from
Oct 9, 2024

Conversation

varunagrawal
Copy link
Collaborator

@varunagrawal varunagrawal commented Oct 9, 2024

  1. Fix printing tests.
  2. Add serialization to HybridGaussianProductFactor.
  3. Fix Windows CI failure by implementing a dummy std::istream& operator>>(std::istream& is, GaussianFactorGraphValuePair& pair); function.

The last one is needed because DecisionTree has a constructor which takes a string as the leaf(s) argument and uses an istream_iterator to parse the stringstream version of the argument. MSVC tries to match this in HybridGaussianProductFactor and fails since std::pair<GaussianFactorGraph, double> doesn't have an operator overload for >>.

Really stupid bug on MSVC's end since constructors are not inherited by default in standardized C++.

@varunagrawal varunagrawal self-assigned this Oct 9, 2024
@dellaert dellaert merged commit 95f053f into feature/no_hiding Oct 9, 2024
33 checks passed
@varunagrawal varunagrawal deleted the more-fixes branch October 9, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants