Inconsistent behavior when creating DiracMixture distributions

Issue #2 resolved
Jannik Steinbring repo owner created an issue

The default constructor of DiracMixture creates a DM with no components. When, however, passing an empty matrix to the class constructor you get the error

DiracMixture([])

Error using DiracMixture/set (line 136) Samples must be a matrix.

Error in DiracMixture (line 55) obj.set(samples);

Comments (1)

  1. Log in to comment