Skip to content

Commit

Permalink
Merge pull request #66 from biotinker/fix-64-bit
Browse files Browse the repository at this point in the history
umfErr should take an int, not a long
  • Loading branch information
cpmech authored Feb 18, 2025
2 parents 784b6a3 + 9541a3b commit 4bad457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion la/sparse_conversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (t *TripletC) ToMatrix(a *CCMatrixC) *CCMatrixC {
}

// umfErr returns UMFPACK error codes
func umfErr(code C.LONG) string {
func umfErr(code C.int) string {
switch code {
case C.UMFPACK_ERROR_out_of_memory:
return "out_of_memory (-1)"
Expand Down

0 comments on commit 4bad457

Please sign in to comment.