tisimst/mcerp — pull request #2 by mkouhia (2014-04-01 08:18:19+00:00)
Title: Fix distribution comparison

When comparing Delta functions, scipy.stats.ttest_rel() might return
infinity as t-statistic. When this happens, comparison fails.

Fix this behaviour by using numpy sign() function. Scipy.stats still
issues a RuntimeWarning, but apparently it does not affect t-testing
anymore.