From ccb27f81ea075e6068c2477676485045ed58722f Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Sun, 30 Aug 2009 22:37:58 -0500 Subject: [PATCH] update math.blas for change --- basis/math/blas/matrices/matrices.factor | 2 +- basis/math/blas/vectors/vectors.factor | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/math/blas/matrices/matrices.factor b/basis/math/blas/matrices/matrices.factor index 1882ccd0d5..a7ee79f210 100755 --- a/basis/math/blas/matrices/matrices.factor +++ b/basis/math/blas/matrices/matrices.factor @@ -132,7 +132,7 @@ M: blas-matrix-base clone ! XXX try rounding stride to next 128 bit bound for better vectorizin' : ( rows cols exemplar -- matrix ) - [ element-type [ * ] dip ] + [ element-type heap-size * * ] [ 2drop ] [ f swap (blas-matrix-like) ] 3tri ; diff --git a/basis/math/blas/vectors/vectors.factor b/basis/math/blas/vectors/vectors.factor index 3017a12b18..dd80b50f90 100755 --- a/basis/math/blas/vectors/vectors.factor +++ b/basis/math/blas/vectors/vectors.factor @@ -99,12 +99,12 @@ PRIVATE> length v inc>> v (blas-vector-like) ; : ( exemplar -- zero ) - [ element-type ] + [ element-type heap-size ] [ length>> 0 ] [ (blas-vector-like) ] tri ; : ( length exemplar -- vector ) - [ element-type ] + [ element-type heap-size * ] [ 1 swap ] 2bi (blas-vector-like) ;