diff options
author | rupak19 | 2020-04-10 14:39:58 +0530 |
---|---|---|
committer | rupak19 | 2020-04-10 14:39:58 +0530 |
commit | d81f45d6e4783c4915382390f480442995710546 (patch) | |
tree | 83a3415e8b43761cd1cabf3402430e50a413ae5d /sci_gateway | |
parent | f00676384365fdea0b739ed3107552aa79e49c4b (diff) | |
download | Scilab6-Test-Toolbox-master.tar.gz Scilab6-Test-Toolbox-master.tar.bz2 Scilab6-Test-Toolbox-master.zip |
Diffstat (limited to 'sci_gateway')
-rwxr-xr-x | sci_gateway/cpp/builder_gateway_cpp.sce | 2 | ||||
-rwxr-xr-x | sci_gateway/cpp/libtest_toolbox.so | bin | 16712 -> 16712 bytes | |||
-rwxr-xr-x | sci_gateway/cpp/sci_multiply.cpp | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sci_gateway/cpp/builder_gateway_cpp.sce b/sci_gateway/cpp/builder_gateway_cpp.sce index 32d8db9..44c8410 100755 --- a/sci_gateway/cpp/builder_gateway_cpp.sce +++ b/sci_gateway/cpp/builder_gateway_cpp.sce @@ -56,7 +56,7 @@ else//LINUX C_Flags = ["-I"+inc_base_dir]; - Linker_Flag = ["-L" + lib_base_dir + " -ladd -Wl,-rpath="+lib_base_dir] + Linker_Flag = ["-L" + lib_base_dir + " -lmul -Wl,-rpath="+lib_base_dir] end diff --git a/sci_gateway/cpp/libtest_toolbox.so b/sci_gateway/cpp/libtest_toolbox.so Binary files differindex 582de0f..d92bb2b 100755 --- a/sci_gateway/cpp/libtest_toolbox.so +++ b/sci_gateway/cpp/libtest_toolbox.so diff --git a/sci_gateway/cpp/sci_multiply.cpp b/sci_gateway/cpp/sci_multiply.cpp index 4aece25..5447dc7 100755 --- a/sci_gateway/cpp/sci_multiply.cpp +++ b/sci_gateway/cpp/sci_multiply.cpp @@ -14,7 +14,7 @@ extern "C" #include<api_scilab.h> #include <stdio.h> #include "localization.h" -#include "add.h" +#include "mul.h" @@ -43,7 +43,7 @@ if (nout != 1) scilab_getDoubleArray(env, in[0], &in1); scilab_getDoubleArray(env, in[1], &in2); - add(ar, in1[0],in2[0]); + mul(ar, in1[0],in2[0]); out[0] = scilab_createDoubleMatrix2d(env, 1, 1, 0); scilab_getDoubleArray(env, out[0], &out1); |