changeset 2337:19ad22176fc2 octave-forge

another fix due to old interface change
author mcreel
date Mon, 10 Jul 2006 07:59:37 +0000
parents 7ce446cd7e41
children 2f4a93ebec2e
files main/econometrics/gmm_variance_inefficient.m
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/econometrics/gmm_variance_inefficient.m	Mon Jul 10 01:58:19 2006 +0000
+++ b/main/econometrics/gmm_variance_inefficient.m	Mon Jul 10 07:59:37 2006 +0000
@@ -19,8 +19,7 @@
 	D = numgradient("average_moments", {theta, data, moments, momentargs});
 	D = D';
 
-	m = feval(moments, theta, data, momentargs); # find out how many obsns. we have
-	n = rows(m);
+	n = rows(data);
 
 	J = D*weight*D';
 	J = inv(J);