-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Order of checks in matrix functions #88
Comments
From @bob-carpenter on March 31, 2015 12:17 The positive definiteness check should also check that the
|
From @rtrangucci on March 31, 2015 18:47 @bob-carpenter I should have added that check_pos_definite calls check_symmetric which subsequently calls check_square, so there only need to be two checks in mdivide_left_spd(A,b):
|
They also don't need all those |
From @rtrangucci on March 31, 2015 11:33
Checks in matrix functions not ordered correctly; e.g.
mdivide_left_spd.hpp:
@syclik pointed out we should be checking whether the two matrices are multiplicable before we run the check_pos_definite test. Check_pos_definite also already checks symmetry internally, so no need to call it twice.
Copied from original issue: stan-dev/stan#1415
The text was updated successfully, but these errors were encountered: