This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1063 - Trying to compute AutoDiff Hessians results in an assertion error (possibly a one character fix?)
Summary: Trying to compute AutoDiff Hessians results in an assertion error (possibly a...
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Unsupported modules (show other bugs)
Version: unspecified
Hardware: All All
: Normal Crash
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-14 22:43 UTC by twan_koolen
Modified: 2019-12-04 14:54 UTC (History)
2 users (show)



Attachments
Hessian example that causes an assertion error (2.22 KB, text/plain)
2015-09-14 22:43 UTC, twan_koolen
no flags Details

Description twan_koolen 2015-09-14 22:43:05 UTC
Created attachment 603 [details]
Hessian example that causes an assertion error

This originates from https://forum.kde.org/viewtopic.php?f=74&t=112093

The example given by ralf.denzer still causes an assertion error in 3.2.5 as well as in the devel branch.

The fix given by pjsa seems to work still, i.e. replace
typedef AutoDiffScalar<DerType>& Nested;
with
typedef AutoDiffScalar<DerType> Nested;
in the NumTraits for AutoDiffScalar. So is this just the right fix for this problem?

For future reference, I've added ralf.denzer's example code that causes the assertion error.
Comment 2 Nobody 2019-12-04 14:54:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1063.

Note You need to log in before you can comment on or make changes to this bug.