TomMaullin / BLMM

This repository contains all code for the BLMM toolbox.
19 stars 5 forks source link

Changed cSFS starting point to make for fair comparison #31

Closed TomMaullin closed 4 years ago

TomMaullin commented 4 years ago

This is a small PR which changes the starting point used for D in the cSFS2D algorithm to a starting point similar to that used for the other methods. As the cholesky decomposition is then performed on D, care had to be taken to ensure that D was positive definite (rather than non-negative definite) for this method, so that the np.linalg.cholesky function would not error.