-
Notifications
You must be signed in to change notification settings - Fork 28
Example matrix uses 1-based indexing in documentation for C interface #246
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
Comments
The scaling examples in C produce a matching result that has 0-based indexing: Lines 196 to 211 in d217ecd
Presumably, this then means that an unmatched row is indicated by Lines 73 to 75 in d217ecd
|
Thank you for reporting, this is a copy-paste issue with the C documentation. |
The C should indeed return |
The examples provided for CSC and Coordinate matrix format use 1-based indexing in the documentation for the C interface:
spral/docs/C/csc_format.rst
Lines 50 to 53 in d217ecd
spral/docs/C/coord_format.rst
Lines 45 to 49 in d217ecd
The C examples use 0-based indexing:
spral/examples/C/scaling/auction_unsym.c
Lines 15 to 24 in d217ecd
The text was updated successfully, but these errors were encountered: