-
Notifications
You must be signed in to change notification settings - Fork 98
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
Error in result #13
Comments
Would you please simplify your example. Just output the value you get and the value you expect for the simplest case that you consider wrong. For example, if it is the Jacobian, you could output |
I've simplified as much as I could above and provided better info in the output as suggested. It just computes a quadratic form and calculates its Jacobian/gradient and Hessian via CppAD. I could also remove the Hessian code if you prefer (under the assumption that the same issues is causing the problem in both cases). Thanks, |
I have reproduced and checked in a copy of your bug report; see Thanks. |
The matrix Q is not symmetric, hence the true derivative is more complicated than your formula; see Please close this bug if you are satisfied with this result |
Arrrgh! Very sorry for the noise. I work almost exclusively with symmetric positive definite Q matrices and hence my oversight.... Apologies. Jason |
Hi,
The following code produces the wrong result:
I'm running Ubuntu 15.10 on an x86-64 machine using CppAD master and the most recent stable release of Eigen (3.2.7). If I set a_X and a_b using for loops I get the correct result.
Thanks,
Jason
The text was updated successfully, but these errors were encountered: