Repository navigation
Conversation
Testing AffineTransform Testing AzimuthElevationToCartesianTransform ERROR: GetInverseTransform() did not preserve concrete type for AzimuthElevationToCartesianTransform Expected type: AzimuthElevationToCartesianTransform Actual type: AffineTransform Testing BSplineTransform GetInverseTransform() returned null for BSplineTransform Testing CenteredAffineTransform Testing CenteredEuler3DTransform Testing CenteredAffineTransform Testing CenteredRigid2DTransform Testing CenteredSimilarity2DTransform Testing CompositeTransform Testing ElasticBodyReciprocalSplineKernelTransform Testing ElasticBodySplineKernelTransform Testing Euler2DTransform Testing Euler3DTransform ERROR: GetInverseTransform() did not preserve concrete type for Euler3DTransform Expected type: Euler3DTransform Actual type: MatrixOffsetTransformBase Testing FixedCenterOfRotationAffineTransform ERROR: GetInverseTransform() did not preserve concrete type for FixedCenterOfRotationAffineTransform Expected type: FixedCenterOfRotationAffineTransform Actual type: ScalableAffineTransform Testing IdentityTransform Testing QuaternionRigidTransform ERROR: GetInverseTransform() did not preserve concrete type for QuaternionRigidTransform Expected type: QuaternionRigidTransform Actual type: MatrixOffsetTransformBase Testing Rigid2DTransform Testing ScalableAffineTransform Testing ScaleLogarithmicTransform ERROR: GetInverseTransform() did not preserve concrete type for ScaleLogarithmicTransform Expected type: ScaleLogarithmicTransform Actual type: ScaleTransform Testing ScaleTransform Testing Similarity2DTransform Testing Similarity3DTransform ERROR: GetInverseTransform() did not preserve concrete type for Similarity3DTransform Expected type: Similarity3DTransform Actual type: MatrixOffsetTransformBase Testing ThinPlateR2LogRSplineKernelTransform Testing ThinPlateSplineKernelTransform Testing TranslationTransform Testing VersorRigid3DTransform ERROR: GetInverseTransform() did not preserve concrete type for VersorRigid3DTransform Expected type: VersorRigid3DTransform Actual type: MatrixOffsetTransformBase Testing VersorTransform ERROR: GetInverseTransform() did not preserve concrete type for VersorTransform Expected type: VersorTransform Actual type: MatrixOffsetTransformBase Testing VolumeSplineKernelTransform
Member
|
@dzenanz Agreed. I do think this is the most common behavior that should be the default. |
Member
Author
|
With KernelTransform inversion pushed through, I will take a bit of a break. Feel free to take over this PR and the associated issue. |
3 tasks done
Member
|
Thanks for the repro, @dzenanz — it pinned the problem precisely, and the failing type assertion here is exactly what drove the fix. Superseded by #6689, which:
Both commits credit you as co-author. Closing in favor of #6689 with your go-ahead to take it over. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reveals that a number of transforms provide parent type as inverse. I assume this is incorrect in at least most cases, and possibly even in all cases. Here are the problematic cases:
PR Checklist