Closed kbroman closed 9 years ago
Fixed the summary.scantwo problem in this commit.
A bunch of "Conditional jump or move depends on uninitialised value(s)" errors are due to this line in inverseF
in mqmregression.cpp
.
Fixed that problem (in inverseF
) by replacing the call to info()
with a plain call to Rprintf()
.
Fixed the remaining valgrind errors (memory leaks in the MQM code) by switching memory allocation from user-controlled R_chk_calloc
/Calloc
to R_alloc
/S_alloc
. This way, we don't need to free memory; R garbage collection handles it.
Clean of valgrind errors as of this commit.
See http://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/qtl-Ex.Rout.
Examples:
subset.scantwo
mqmaugment