diff options
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); |