aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/QuickStartGuide.dox
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-03 21:01:55 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-03 21:01:55 +0000
commitc1e2156d8a45e28a07474c483af7580e055feb70 (patch)
tree9898a7e039393908fd99b68f13d433ec02567794 /doc/QuickStartGuide.dox
parent84cc69f0f3fb0e232435d2318006500f47277e4d (diff)
* Much better, consistent error msgs when mixing different scalar types:
- in matrix-matrix product, static assert on the two scalar types to be the same. - Similarly in CwiseBinaryOp. POTENTIALLY CONTROVERSIAL: we don't allow anymore binary ops to take two different scalar types. The functors that we defined take two args of the same type anyway; also we still allow the return type to be different. Again the reason is that different scalar types are incompatible with vectorization. Better have the user realize explicitly what mixing different numeric types costs him in terms of performance. See comment in CwiseBinaryOp constructor. - This allowed to fix a little mistake in test/regression.cpp, mixing float and double - Remove redundant semicolon (;) after static asserts
Diffstat (limited to 'doc/QuickStartGuide.dox')
0 files changed, 0 insertions, 0 deletions