GraphBLAS / LAGraph-Working-Group

Public document and planning repository for the LAGraph Working Group

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return codes

mcmillan03 opened this issue · comments

Do we use GrB_Info or have LAGr_Info that contains (possibly) a GrB_Info and a much richer set of information.

Is there an LAGr_error() that does analogous tasks to GrB_error() or something completely different.

Given the discussion in #6, if we go with LAGr_Matrix, we should probably go with LAGr_Info.

As you've pointed out, we can include algorithm-specific error messages and other LAGraph-specific functionality. I think this would be particularly useful given that the LAGr_Matrix being discussed is not opaque, and so we may need to notify the user of a lot more possible errors (e.g. "Hey, you told me this matrix was symmetric and it's not!").