Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix in initialization of plane-probing computers on to digital surfaces #1607

Merged
merged 7 commits into from
Oct 10, 2021

Conversation

troussil
Copy link
Member

@troussil troussil commented Oct 1, 2021

PR Description

There was a bug in ExamplePlaneProbingSurfaceLocalEstimator (when built in Debug mode). It was caused by a bad validity check and a corner case in the initialization step, because a computer may not be always initialized (See method 'eval' in PlaneProbingDigitalSurfaceLocalEstimator). ExamplePlaneProbingSurfaceLocalEstimator can now be run without error.

Checklist

(Not relevant for a bug fix)

  • Unit-test of your feature with Catch.

  • Doxygen documentation of the code completed (classes, methods, types, members...)

  • Documentation module page added or updated.

  • New entry in the ChangeLog.md added.

  • No warning raised in Debug cmake mode (otherwise, C.I. will fail).

  • All continuous integration tests pass (Github Actions & appveyor)

Copy link
Member

@dcoeurjo dcoeurjo left a comment

Choose a reason for hiding this comment

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

There is more than just a bug fix in the example. Maybe you should comment on the edits you have done in the main classes as well in the Changelog.
Otherwise, everything is ok and the example does not fail anymore, thx

ChangeLog.md Outdated Show resolved Hide resolved
@dcoeurjo dcoeurjo self-requested a review October 7, 2021 07:01
Copy link
Member

@dcoeurjo dcoeurjo left a comment

Choose a reason for hiding this comment

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

thx

@dcoeurjo dcoeurjo merged commit cdce424 into DGtal-team:master Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants