Heap was being corrupted with large amounts of simulated output (1000+ chromosomes with lengths of 1MB+).
This should help avoid that. However, it'd be best if the number of tips for all trees was calculated ahead of time, and only one malloc() call was made per tree.
Heap was being corrupted with large amounts of simulated output (1000+ chromosomes with lengths of 1MB+).
This should help avoid that. However, it'd be best if the number of tips for all trees was calculated ahead of time, and only one
malloc()
call was made per tree.