summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/sci_ipopt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sci_gateway/cpp/sci_ipopt.cpp')
-rw-r--r--sci_gateway/cpp/sci_ipopt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci_gateway/cpp/sci_ipopt.cpp b/sci_gateway/cpp/sci_ipopt.cpp
index b8e94a4..7094615 100644
--- a/sci_gateway/cpp/sci_ipopt.cpp
+++ b/sci_gateway/cpp/sci_ipopt.cpp
@@ -233,7 +233,7 @@ int sci_solveqp(char *fname)
return 1;
}
- if (returnDoubleMatrixToScilab(7, 1, 1, Lambda))
+ if (returnDoubleMatrixToScilab(7, 1, nCons, Lambda))
{
return 1;
}