Skip to content

STYLE: Remove Initialize() calls on new point sets RegisterTwoPointSets#450

Merged
N-Dekker merged 1 commit into
mainfrom
rebase/remove-initialize-calls-register-two-point-sets
Jun 12, 2026
Merged

STYLE: Remove Initialize() calls on new point sets RegisterTwoPointSets#450
N-Dekker merged 1 commit into
mainfrom
rebase/remove-initialize-calls-register-two-point-sets

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

Rebase of @N-Dekker's PR #434 onto current main.

When a point set is just created by New(), it is already properly initialized. Removes redundant Initialize() calls from RegisterTwoPointSets — follow-up to ITK#4976 commit bc044c1d.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions Bot added area:Registration Issues affecting the Registration module type:Style Style changes: no logic impact (indentation, comments, naming) language:C++ Changes to C++ examples language:Python Changes to Python examples type:Python Notebook Changes to Python Notebook examples labels Apr 17, 2026
When a point set is just created by `New()`, it is already properly initialized.

- Follow-up to pull request InsightSoftwareConsortium/ITK#4976
commit InsightSoftwareConsortium/ITK@bc044c1
"STYLE: Remove p->Initialize() call after p = T::New() in example"
@hjmjohnson hjmjohnson force-pushed the rebase/remove-initialize-calls-register-two-point-sets branch from 557ffa6 to 34c1710 Compare June 12, 2026 12:48
@github-actions github-actions Bot temporarily deployed to production June 12, 2026 13:41 Inactive
@github-actions

Copy link
Copy Markdown

🎉 Published on https://examples.itk.org as production
🚀 Deployed on https://6a2c111d384fe31819e00a61--itkexamples.netlify.app

@github-actions github-actions Bot temporarily deployed to production June 12, 2026 14:01 Inactive
@N-Dekker

Copy link
Copy Markdown
Collaborator

Thanks, but I would have been willing to do the rebase myself 🤷

Why was it originally put on hold?

@dzenanz

dzenanz commented Jun 12, 2026

Copy link
Copy Markdown
Member

Maybe the CI was broken?

@N-Dekker N-Dekker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hans, but the next time, can you possibly first just ask me to rebase my pull request myself?

@N-Dekker N-Dekker merged commit b0679d8 into main Jun 12, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Registration Issues affecting the Registration module language:C++ Changes to C++ examples language:Python Changes to Python examples type:Python Notebook Changes to Python Notebook examples type:Style Style changes: no logic impact (indentation, comments, naming)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants