Add validation for op argument in spmv routine for special matrices#1087
Add validation for op argument in spmv routine for special matrices#1087Mahmood-Sinan wants to merge 3 commits intofortran-lang:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1087 +/- ##
==========================================
+ Coverage 68.51% 68.55% +0.03%
==========================================
Files 396 396
Lines 12746 12746
Branches 1376 1376
==========================================
+ Hits 8733 8738 +5
+ Misses 4013 4008 -5 ☔ 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! |
|
Thank you @Mahmood-Sinan . This PR looks good. I will merge it. Could you first fix the merge conflit please? |
b46c6a8 to
1b3e3fc
Compare
Thank you. I have fixed the merged conflict. |
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.