3DGenomes/tadbit — pull request #21 by gui11aume (2013-10-02 17:37:42+00:00)
Title: Writing unit tests and fixing bugs

This commit fixes an unreported offset-by-1 bug. This created a TAD border at an unexpected location in a perfect toy matrix. It is hard to predict what exactly the bug may have caused, I can just say that it might have caused any kind of sub-optimal segmentation.

In this toy example the weights behave as expected, the computation of the log-likelihood is accurate and valgrind finds no memory leak.