Opened 18 years ago
Closed 17 years ago
#514 closed defect (fixed)
RandConstrainedMNormal crashes Tol Base
Reported by: | mafernandez | Owned by: | Jorge |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Math | Version: | 1.1.5 |
Severity: | major | Keywords: | |
Cc: |
Description
The Matrix function RandConstrainedMNormal causes a crash in Tol base when some of the optional arguments are not given. Consider the following example below:
Matrix mu = Col(2.0, 2.0);
Matrix COV = ((1.0, 4/5.0),(4/5.0, 1.0));
Matrix B = ((-1.0, 1.0), (0.0, -1.0));
Matrix b = Col(0.0, 0.0);
Matrix sample = RandConstrainedMNormal(mu, COV, B, b, 1, 100);
Note: See
TracTickets for help on using
tickets.
Hi Miguel Angel,
I've tried the sample code you provide (that is the same provided by the function) and I get a suitable behavior. Removing the two last optional parameters seems to be good as well.
BTW, I'll ckeck this with you tomorrow.
Thanks for your report.
Daniel