Skip to content

Commit 0782ead

Browse files
Merge pull request DrTimothyAldenDavis#727 from prj-/jolivet/fix-SuiteSparse_config
Update SuiteSparse_config.h
2 parents 08f2466 + 8fef63d commit 0782ead

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SuiteSparse_config/Config/SuiteSparse_config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ int SuiteSparse_version // returns SUITESPARSE_VERSION
432432

433433
// version format x.y.z
434434
#define SUITESPARSE__VERCODE(main,sub,patch) \
435-
(((major)*1000ULL + (minor))*1000ULL + (patch))
435+
(((main)*1000ULL + (sub))*1000ULL + (patch))
436436
#define SUITESPARSE__VERSION SUITESPARSE__VERCODE(@SUITESPARSE_VERSION_MAJOR@,@SUITESPARSE_VERSION_MINOR@,@SUITESPARSE_VERSION_SUB@)
437437

438438
//==============================================================================

SuiteSparse_config/SuiteSparse_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ int SuiteSparse_version // returns SUITESPARSE_VERSION
432432

433433
// version format x.y.z
434434
#define SUITESPARSE__VERCODE(main,sub,patch) \
435-
(((major)*1000ULL + (minor))*1000ULL + (patch))
435+
(((main)*1000ULL + (sub))*1000ULL + (patch))
436436
#define SUITESPARSE__VERSION SUITESPARSE__VERCODE(7,5,0)
437437

438438
//==============================================================================

0 commit comments

Comments
 (0)