Skip to content

Conversation

@odow
Copy link
Member

@odow odow commented Oct 30, 2025

Copy link

@franckgaga franckgaga left a comment

Choose a reason for hiding this comment

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

I did not verify the derivatives since I'm a bit lazy right now, but they seems okay XP

`jacobian_structure` is not required to be sorted and it may contain duplicates,
in which case the solver will combine the corresponding non-zero values in `ret`
by adding them together.

Choose a reason for hiding this comment

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

Did you meant "averaging them together" ?

"Adding them together" feels like giving [(1,1), (1,1), (1,1)] and [1.0, 1.0, 1.0] would fill the Hessian with a 3.0 instead of a 1.0 at the index 1,1.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, I mean adding them together. It would fill in 3.0 at the index 1, 1.

@odow odow merged commit f87585c into master Oct 31, 2025
30 of 31 checks passed
@odow odow deleted the od/vno-doc branch October 31, 2025 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants