- changed status to resolved
When using logger with std::size_t, should use "%ld" not "%d"
Issue #314
resolved
In various places there are lines like:
std::size_t M, N;
info("Solving linear system of size %d x %d (PETSc Krylov solver).", M, N);
which results in incorrect output (negative numbers) when M or N are > 2^31.
Replace %d
with %ld
.
Comments (5)
-
-
reporter - changed status to open
Reopen until fully resolved/merged
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
Added a few more %ld - I'm sure there are more to be found.
-
- removed milestone
Removing milestone: 1.5 (automated comment)
- Log in to comment
Partially fix issue 314.
→ <<cset beaec69564f8>>