Skip to content

Commit 4bad457

Browse files
authored
Merge pull request #66 from biotinker/fix-64-bit
umfErr should take an int, not a long
2 parents 784b6a3 + 9541a3b commit 4bad457

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)