diff options
author | 2007-10-10 06:09:56 +0000 | |
---|---|---|
committer | 2007-10-10 06:09:56 +0000 | |
commit | 06e1e0d83be56b4b38041fb19749ae79303c09c5 (patch) | |
tree | c41f29aeae71c11f5102bcf14e785b46046df011 /src/Core/ScalarOps.h | |
parent | 7f0a546a817e97e0fc55ae21b7db811315dd94fe (diff) |
fix dot product, add norm/norm2/normalized
add fuzzy compares for matrices/vectors
add random matrix/vector generation
Diffstat (limited to 'src/Core/ScalarOps.h')
-rw-r--r-- | src/Core/ScalarOps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/ScalarOps.h b/src/Core/ScalarOps.h index 2f56ff3b4..c058978e6 100644 --- a/src/Core/ScalarOps.h +++ b/src/Core/ScalarOps.h @@ -83,7 +83,7 @@ EiScalarProduct<Derived> \ operator/(const EiObject<Scalar, Derived>& matrix, \ OtherScalar scalar) \ { \ - assert(EiTraits<Scalar>::HasFloatingPoint); \ + assert(EiNumTraits<Scalar>::HasFloatingPoint); \ return matrix * (static_cast<Scalar>(1) / scalar); \ } \ \ |