commit | 6d93450cb563dc992cbc29ca069c886bf24bb458 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Thu Jul 18 11:08:07 2013 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Jul 18 11:08:07 2013 -0700 |
tree | 330b8444e18fc5c8110f8a77e7133b99be102f1b | |
parent | 42be9cafe6203745fb09d611773305433c117396 [diff] |
Fix build breakage on old versions of SuiteSparse. SuiteSparse_long is only defined in recent versions of SuiteSparse as the index variable type for large matrices. In older versions UF_long was used. Ubuntu still ships with an older version of SuiteSparse, so an ifdef is needed to fix the build. This patch has been tested on mac and on linux with older and newer versions of SuiteSparse. Change-Id: I4ada86d7973784a79bde4afec13ce3ca4e8dc225