From 565bbe0511942b395ec477748ac45483a306b8c9 Mon Sep 17 00:00:00 2001 From: "Paul T. Bauman" Date: Tue, 24 May 2022 15:32:56 -0500 Subject: [PATCH] Need to read start/end indices as HYPRE_BigInt (#605) This fixes an issue with the ParCSRMatrixRead when compiled with mixed-int enabled. --- src/parcsr_mv/par_csr_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parcsr_mv/par_csr_matrix.c b/src/parcsr_mv/par_csr_matrix.c index eada59805..8acb5d24c 100644 --- a/src/parcsr_mv/par_csr_matrix.c +++ b/src/parcsr_mv/par_csr_matrix.c @@ -490,7 +490,7 @@ hypre_ParCSRMatrixRead( MPI_Comm comm, hypre_fscanf(fp, "%b", &global_num_cols); hypre_fscanf(fp, "%d", &num_cols_offd); /* the bgl input file should only contain the EXACT range for local processor */ - hypre_fscanf(fp, "%d %d %d %d", &row_s, &row_e, &col_s, &col_e); + hypre_fscanf(fp, "%b %b %b %b", &row_s, &row_e, &col_s, &col_e); row_starts[0] = row_s; row_starts[1] = row_e; col_starts[0] = col_s;