File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -2207,7 +2207,11 @@ PRIVATE Int find_ordering /* return the number of garbage collections */
22072207 Int col ; /* a column index */
22082208 Int max_score ; /* maximum possible score */
22092209 Int cur_score ; /* score of current column */
2210+ #ifdef DLONG
2211+ uint64_t hash ; /* hash value for supernode detection */
2212+ #else
22102213 unsigned Int hash ; /* hash value for supernode detection */
2214+ #endif
22112215 Int head_column ; /* head of hash bucket */
22122216 Int first_col ; /* first column in hash bucket */
22132217 Int tag_mark ; /* marker value for mark array */
Original file line number Diff line number Diff line change @@ -55,24 +55,25 @@ at the top-level directory.
5555#ifndef COLAMD_H
5656#define COLAMD_H
5757
58- #include "superlu_config.h"
5958
6059/* make it easy for C++ programs to include COLAMD */
6160#ifdef __cplusplus
6261extern "C" {
6362#endif
6463
65- #if defined ( _LONGINT )
66- #define DLONG
67- #endif
68-
69-
7064/* ========================================================================== */
7165/* === Include files ======================================================== */
7266/* ========================================================================== */
7367
7468#include <stdlib.h>
75- /*#include <stdint.h>*/
69+ //#include <inttypes.h>
70+ #include <stdint.h>
71+ #include "superlu_config.h"
72+
73+ #if defined ( _LONGINT )
74+ #define DLONG
75+ #endif
76+
7677
7778/* ========================================================================== */
7879/* === COLAMD version ======================================================= */
@@ -175,9 +176,9 @@ extern "C" {
175176#define SuiteSparse_long_idd "ld"
176177#endif
177178
178- #if 1
179+ #if 0
179180#define SuiteSparse_long long long int
180- #else
181+ #else // Sherry switch to this
181182#define SuiteSparse_long int64_t
182183#endif
183184#define SuiteSparse_long_max LONG_MAX
You can’t perform that action at this time.
0 commit comments