diff options
author | Sandeep Gupta | 2017-07-07 02:30:25 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-07 02:30:25 +0530 |
commit | ea8a50994bd3a260cd1656713acdc397a57fc680 (patch) | |
tree | b4f79716252c8c55b9565d4f80778983b6462ddb /2.3-1/src/c/string/disp/zdispa.c | |
parent | 6f0abd8ad76a0f1f72ab1b6c8a430978493f6f1b (diff) | |
download | Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.tar.gz Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.tar.bz2 Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.zip |
SPEC Function
Diffstat (limited to '2.3-1/src/c/string/disp/zdispa.c')
-rw-r--r-- | 2.3-1/src/c/string/disp/zdispa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2.3-1/src/c/string/disp/zdispa.c b/2.3-1/src/c/string/disp/zdispa.c index bc71de4b..94b24e98 100644 --- a/2.3-1/src/c/string/disp/zdispa.c +++ b/2.3-1/src/c/string/disp/zdispa.c @@ -16,7 +16,7 @@ double zdispa (doubleComplex* in, int rows, int columns){ int i = 0,j = 0; for (i = 0; i < rows; ++i) { - for (j=0;j<columns;j++) printf(" %1.20lf + %1.20lfi " ,zreals(in[i+j*rows]) ,zimags(in[i+j*rows])); + for (j=0;j<columns;j++) printf(" %e + %ei " ,zreals(in[i+j*rows]) ,zimags(in[i+j*rows])); printf("\n"); } return 0; |