aboutsummaryrefslogtreecommitdiff
path: root/math/gretl/files/patch-plugin__oprobit.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-17 19:21:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-17 19:21:31 +0000
commit9c170d661a548ea2f2cf9a6d871239a9372ec0d2 (patch)
tree1d88227426d94b55b1105e06ceadb7a59daa8899 /math/gretl/files/patch-plugin__oprobit.c
parent2548ece62c0e465e12aa0db86842a84f1a582df1 (diff)
downloadports-9c170d661a548ea2f2cf9a6d871239a9372ec0d2.tar.gz
ports-9c170d661a548ea2f2cf9a6d871239a9372ec0d2.zip
Notes
Diffstat (limited to 'math/gretl/files/patch-plugin__oprobit.c')
-rw-r--r--math/gretl/files/patch-plugin__oprobit.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/gretl/files/patch-plugin__oprobit.c b/math/gretl/files/patch-plugin__oprobit.c
new file mode 100644
index 000000000000..8b8ff968336a
--- /dev/null
+++ b/math/gretl/files/patch-plugin__oprobit.c
@@ -0,0 +1,19 @@
+--- plugin/oprobit.c.orig Fri Feb 16 06:47:19 2007
++++ plugin/oprobit.c Sat Apr 14 03:58:23 2007
+@@ -665,6 +665,7 @@
+ gretl_matrix *V = NULL;
+ double *theta = NULL;
+ int err;
++ op_container *OC;
+
+ /* BFGS apparatus */
+ int maxit = 1000;
+@@ -679,7 +680,7 @@
+ opt &= ~OPT_R;
+ }
+
+- op_container *OC = op_container_new(ci, Z, pmod, opt);
++ OC = op_container_new(ci, Z, pmod, opt);
+ if (OC == NULL) {
+ return E_ALLOC;
+ }