This behavior is changed for consistency reasons, from Matrix version
0.999375-31 on, notably the upcoming Matrix 1.0-0.
Those of you making use of determinant(Cholesky(.)) are
strongly advised to make their R code work correctly in older
and newer versions of Matrix with something like the following
.f <- if(package_version(packageDescription("Matrix")$Version) >
"0.999375-30") 2 else 1
## and use
.f * determinant(myCholesky)$modulus