summaryrefslogtreecommitdiff
path: root/src/c/CACSD/lqe/dlqea.c
diff options
context:
space:
mode:
authorsiddhu89902017-06-20 15:26:40 +0530
committersiddhu89902017-06-20 15:26:40 +0530
commitfad32de9c3df04a8fb032f9c604c79c89d062154 (patch)
treeaf5ae0b9047e2591b03215033cb209565e943fc7 /src/c/CACSD/lqe/dlqea.c
parent0aaa69ac8c8cfc262305a0c93219c72971dc78cd (diff)
downloadScilab2C_fossee_old-fad32de9c3df04a8fb032f9c604c79c89d062154.tar.gz
Scilab2C_fossee_old-fad32de9c3df04a8fb032f9c604c79c89d062154.tar.bz2
Scilab2C_fossee_old-fad32de9c3df04a8fb032f9c604c79c89d062154.zip
Bug fixed for GSL library
Diffstat (limited to 'src/c/CACSD/lqe/dlqea.c')
-rw-r--r--src/c/CACSD/lqe/dlqea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/CACSD/lqe/dlqea.c b/src/c/CACSD/lqe/dlqea.c
index 63f8d62..e0be5b3 100644
--- a/src/c/CACSD/lqe/dlqea.c
+++ b/src/c/CACSD/lqe/dlqea.c
@@ -54,7 +54,7 @@ void dlqea(double* sys, int sys_rows, int sys_cols, double* X, double* K)
/*Calculate LQR gain*/
K_lqr = (double*) malloc(no_of_ip*no_of_st*sizeof(double));
- dlqra(sys_lqr,sys_lqr_rows,sys_lqr_cols,X,K_lqr);
+ dlqra(sys_lqr,sys_lqr_rows,sys_lqr_cols,NULL,NULL,NULL,X,K_lqr);
dtransposea(K_lqr,sys_rows - no_of_st,no_of_st,K);
} \ No newline at end of file