summaryrefslogtreecommitdiffstats
path: root/rs
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2015-04-30 13:44:49 -0700
committerMiao Wang <miaowang@google.com>2015-04-30 13:44:49 -0700
commit82585b3906955e57e199d962b8fe11b2bab87fba (patch)
tree133302745377dc702d0a27847707452ea2cd43ac /rs
parent1e940d87c46edc672964c7674cff8da6441e9559 (diff)
downloadframeworks_base-82585b3906955e57e199d962b8fe11b2bab87fba.zip
frameworks_base-82585b3906955e57e199d962b8fe11b2bab87fba.tar.gz
frameworks_base-82585b3906955e57e199d962b8fe11b2bab87fba.tar.bz2
[RenderScript] typo fix in rs BLAS jni, to correctly handle complex
params. Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
Diffstat (limited to 'rs')
-rw-r--r--rs/jni/android_renderscript_RenderScript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp
index cbe87fc..1c8521b 100644
--- a/rs/jni/android_renderscript_RenderScript.cpp
+++ b/rs/jni/android_renderscript_RenderScript.cpp
@@ -526,7 +526,7 @@ nScriptIntrinsicBLAS_Complex(JNIEnv *_env, jobject _this, jlong con, jlong id, j
call.alpha.c.r = alphaX;
call.alpha.c.i = alphaY;
call.beta.c.r = betaX;
- call.beta.c.r = betaY;
+ call.beta.c.i = betaY;
call.incX = incX;
call.incY = incY;
call.KL = KL;
@@ -561,7 +561,7 @@ nScriptIntrinsicBLAS_Z(JNIEnv *_env, jobject _this, jlong con, jlong id, jint fu
call.alpha.z.r = alphaX;
call.alpha.z.i = alphaY;
call.beta.z.r = betaX;
- call.beta.z.r = betaY;
+ call.beta.z.i = betaY;
call.incX = incX;
call.incY = incY;
call.KL = KL;