Skip to content

Commit e3ec58a

Browse files
committed
Added check for righ number of entries in gridmin(), gridmax(), gridpoints().
1 parent 4163664 commit e3ec58a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

boottest.ado

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,13 @@ program define _boottest, rclass sortpreserve
451451
}
452452
}
453453
}
454+
455+
foreach option in gridmin gridmax gridpoints {
456+
if `df' != `:word count ``option''' {
457+
di as err "{cmd:`option'()} option needs " `df' " entries"
458+
exit 199
459+
}
460+
}
454461
}
455462

456463
if `ML' {
@@ -729,6 +736,7 @@ program define _boottest, rclass sortpreserve
729736
end
730737

731738
* Version history
739+
* 2.3.4 Dropped "Rejection" from axis labels. Added check for righ number of entries in gridmin(), gridmax(), gridpoints().
732740
* 2.3.3 Eliminated false warning that neg Hessian not pos def when a parameter is constrained to 0 in model
733741
* 2.3.2 Fixed 2.2.0 crash when errors are non-robust
734742
* 2.3.1 Fixed 2.2.0 bug--left behind temporary variables

0 commit comments

Comments
 (0)