-
Notifications
You must be signed in to change notification settings - Fork 213
Add validation for op argument in spmv routine for special matrices #1087
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
base: master
Are you sure you want to change the base?
Add validation for op argument in spmv routine for special matrices #1087
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1087 +/- ##
==========================================
- Coverage 68.67% 68.64% -0.04%
==========================================
Files 393 394 +1
Lines 12720 12730 +10
Branches 1376 1376
==========================================
+ Hits 8736 8738 +2
- Misses 3984 3992 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
If I recall correctly, the sparse matrix-vector product accepts |
@loiseaujc I have made the changes. The routine now accepts |
|
LGTM. |
|
this is looking good. It might be good to add a quick test to check that the error is properly catched when op is different than the expected options. |
Thanks for the suggestion! |
This pr adds validation for the optional argument
opinstdlib_specialmatrices.When op is present and not one of
N,T, orC, aLINALG_VALUE_ERRORis raised usinglinalg error handling.