New user self-registration is currently disabled. Please email eigen-core-team @ if you need an account.
Bug 501 - Suppress mat/scalar aggressive optimization
Suppress mat/scalar aggressive optimization
Product: Eigen
Classification: Unclassified
Component: Core - general
All All
: Normal Unknown
Assigned To: Nobody
Depends on:
  Show dependency treegraph
Reported: 2012-08-22 11:09 UTC by Gael Guennebaud
Modified: 2012-09-08 11:53 UTC (History)
2 users (show)


Description Gael Guennebaud 2012-08-22 11:09:37 UTC
Currently, mat/scalar or mat/=scalar are optimized as mat*(1/scalar) and mat *= (1/scalar) for non integer scalar types. This might result in invalid result in some borderline cases, as in:

Proposal: remove this optimization and leave it to the user.
Comment 1 Gael Guennebaud 2012-09-08 11:53:41 UTC
changeset:   93c59c59807e
user:        ggael
date:        2012-09-08 11:52:03
summary:     fix bug 501: remove aggressive mat/scalar optimization (was replaced by mat*(1/scalar) for non integer types)
changeset:   11b65f0601c4
branch:      3.1

Note You need to log in before you can comment on or make changes to this bug.