Darokrithia / PopGenSim

Simulates polygenic evolution of the polygenic trait of digital genomes aka degnomes
MIT License
2 stars 1 forks source link

Merge sort doesn't work on some computers #14

Closed Darokrithia closed 4 years ago

Darokrithia commented 4 years ago

While Merge sort works on every other computer it seg-faults on a single computer. We need to figure out why this is happening and fix it.

This possibly entails rewriting the merge sort function.

macosten commented 4 years ago

By replacing int_merge_sort with int_qsort, this is effectively solved.

That being said, we now need to (properly) replace all calls to int_merge_sort with int_qsort.