Fixing Sequence dotProduct(seq). Returned self instead of the dot product
commit70b20524b811f051d993f54b92cebab0f9240b32
authorJonathan Wright <jonathan@quag.geek.nz>
Wed, 25 Apr 2007 04:28:00 +0000 (25 16:28 +1200)
committerJonathan Wright <jonathan@quag.geek.nz>
Wed, 25 Apr 2007 04:28:00 +0000 (25 16:28 +1200)
treed5c6cc70cc3b39ea7d319c73170257524c0e54d2
parente1ef89d33ac73b36863380667051b799f4bfe4e0
Fixing Sequence dotProduct(seq). Returned self instead of the dot product

    Io> vector(3,4) dotProduct(vector(3,4)) sqrt
    ==> 5

Instead of

    Io> vector(3,4) dotProduct(vector(3,4)) sqrt
    ==> [1.732051, 2.000000]
libs/basekit/source/UArray_math.c
libs/iovm/source/IoSeq_mutable.c