Dimension checks should be applied for concatenation of identity transforms as well

Description

ConcatenatedTransform.create(MathTransform, MathTransform) currently bypass the dimension checks if at least one MathTransform is the identity transform. Not checking for dimension mismatches may hide bug; an exception is likely to be thrown anyway, but in some later stage. The dimensions should be checked in all cases. It will throw an exception sooner in case of dimension mismatches, which make debugging easier.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:34 PM

CodeHaus Comment From: desruisseaux - Time: Wed, 27 Jul 2005 00:54:40 -0500
---------------------
Commited on trunk as of revision 14934.

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Lowest
Configure