Skip to content

Conversation

@ProfFan
Copy link
Collaborator

@ProfFan ProfFan commented Nov 17, 2025

Move the large class NoiseModelFactorN to its own header, which will help in future reactors. This necessitated a lot of changes wherever the older header was included.

@ProfFan ProfFan requested a review from Copilot November 17, 2025 00:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot finished reviewing on behalf of ProfFan November 17, 2025 00:52
@ProfFan ProfFan requested a review from Copilot November 17, 2025 03:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot finished reviewing on behalf of ProfFan November 17, 2025 03:46
@dellaert dellaert requested a review from Copilot November 17, 2025 04:48
Copilot finished reviewing on behalf of dellaert November 17, 2025 04:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 49 out of 49 changed files in this pull request and generated 1 comment.

Comment on lines +21 to +26
// \callgraph

#include <gtsam/nonlinear/NonlinearFactor.h>

#pragma once

Copy link

Copilot AI Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The #pragma once directive must appear before any #include statements to properly guard the header file against multiple inclusion. Move #pragma once to line 21, before the #include directive.

Suggested change
// \callgraph
#include <gtsam/nonlinear/NonlinearFactor.h>
#pragma once
#pragma once
// \callgraph
#include <gtsam/nonlinear/NonlinearFactor.h>

Copilot uses AI. Check for mistakes.
@dellaert
Copy link
Member

I like this! I’ll hold off approving until CI passes, including python wrapper, of course.

@dellaert
Copy link
Member

Please do provide a PR comment even if you think the title is self-explanatory. And maybe provide a rationale even if what is being done is clear.

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.

3 participants