New user self-registration is disabled due to spam. Please email eigen-core-team @ if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 501 - Suppress mat/scalar aggressive optimization
Summary: Suppress mat/scalar aggressive optimization
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: unspecified
Hardware: All All
: Normal Unknown
Assignee: Nobody
Depends on:
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.