Skip to content

Commit 9541a3b

Browse files
committed
umfErr should take an int, not a long
1 parent 784b6a3 commit 9541a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

la/sparse_conversions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (t *TripletC) ToMatrix(a *CCMatrixC) *CCMatrixC {
7979
}
8080

8181
// umfErr returns UMFPACK error codes
82-
func umfErr(code C.LONG) string {
82+
func umfErr(code C.int) string {
8383
switch code {
8484
case C.UMFPACK_ERROR_out_of_memory:
8585
return "out_of_memory (-1)"

0 commit comments

Comments
 (0)