Skip to content

bugfix/issue-16-fvar-spec-quad_form_sym#18

Merged
syclik merged 7 commits into
developfrom
bugfix/issue-16-fvar-spec-quad_form_sym
Aug 3, 2015
Merged

bugfix/issue-16-fvar-spec-quad_form_sym#18
syclik merged 7 commits into
developfrom
bugfix/issue-16-fvar-spec-quad_form_sym

Conversation

@rtrangucci

Copy link
Copy Markdown
Contributor

Summary:

Introduces fvar specialization of quad_form_sym

Intended Effect:

Admits higher-order autodiff of quad_form_sym for mixed type arguments (e.g. Matrix<double, -1, -1>, Matrix<fvar, -1, -1>). Allows for fvar instantiation of gaussian_dlm_obs_log.

How to Verify:

./runTests.py test/unit/math/mix/mat/fun/quad_form_test.cpp
./runTests.py test/unit/math/fwd/mat/fun/quad_form_test.cpp

These should fail in the current math branch.

Side Effects:

None.

Documentation:

None.

Reviewer Suggestions:

Anyone

@stan-buildbot

Copy link
Copy Markdown
Contributor

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Math%20Pull%20Request/23/

Comment thread stan/math/fwd/mat/fun/quad_form_sym.hpp Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove the using statement. Unnecessary now that everything is in the same namespace.

@syclik syclik added this to the v2.7.0++ milestone Jul 15, 2015
@rtrangucci

Copy link
Copy Markdown
Contributor Author

@syclik not sure what happened here, fwd/mat/fun/quad_form_test.cpp passes on my machine.

@syclik

syclik commented Jul 27, 2015

Copy link
Copy Markdown
Member

Jenkins, retest this please.

@rtrangucci

Copy link
Copy Markdown
Contributor Author

@bob-carpenter @syclik this is ready for code review, should be very straightforward. The main file to focus on is: stan/math/fwd/mat/fun/quad_form_sym.hpp

@syclik

syclik commented Aug 3, 2015

Copy link
Copy Markdown
Member

Cool.

syclik added a commit that referenced this pull request Aug 3, 2015
…orm_sym

Fixes #16. bugfix/issue-16-fvar-spec-quad_form_sym
@syclik
syclik merged commit a0fb99a into develop Aug 3, 2015
@syclik
syclik deleted the bugfix/issue-16-fvar-spec-quad_form_sym branch August 3, 2015 04:06
yizhang-yiz referenced this pull request in yizhang-yiz/math Feb 27, 2018
yizhang-yiz referenced this pull request in yizhang-yiz/math Feb 27, 2018
This global variable causes unit test building failure (bug #18)
yizhang-yiz referenced this pull request in yizhang-yiz/math Feb 27, 2018
This global variable causes unit test building failure (bug #18)
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