diff options
author | David Schleef <ds@ginger.bigkitten.com> | 2008-03-13 01:19:54 -0700 |
---|---|---|
committer | David Schleef <ds@ginger.bigkitten.com> | 2008-03-13 01:19:54 -0700 |
commit | 376aefd191297aeabee92196aa2886f73a974f93 (patch) | |
tree | cdb5c1678cff4702890f7345f1a78cf65c0becd4 /liboil/ref | |
parent | df0e54862b788e44e4bc21fab4c10032be664056 (diff) | |
download | liboil-376aefd191297aeabee92196aa2886f73a974f93.tar.gz |
Fix broken reference implementation. It couldn't have ever possibly worked, so I don't care if this breaks ABI
Diffstat (limited to 'liboil/ref')
-rw-r--r-- | liboil/ref/diffsquaresum_f32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/liboil/ref/diffsquaresum_f32.c b/liboil/ref/diffsquaresum_f32.c index 392fa14..13d8a1e 100644 --- a/liboil/ref/diffsquaresum_f32.c +++ b/liboil/ref/diffsquaresum_f32.c @@ -59,8 +59,8 @@ diffsquaresum_f32_ref(float *dest, float *src1, int sstr1, float *src2, int i; for(i=0;i<n;i++){ - x = OIL_GET(src1, i*sstr1, double) - - OIL_GET(src2, i*sstr2, double); + x = OIL_GET(src1, i*sstr1, float) - + OIL_GET(src2, i*sstr2, float); x = x*x; tmp = sum; sum += x; |