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

modify type to potentially apply reSampling with grid size <1 (and test ... #882

Merged
merged 5 commits into from
Jul 18, 2014

Conversation

kerautret
Copy link
Member

...adds)

@@ -609,7 +612,7 @@ namespace functors
}

for (Dimension dim=0; dim< Space::dimension; dim++){
ptRes[dim] = aPoint[dim]* myGridSize[dim];
ptRes[dim] = (TInteger)(aPoint[dim]*myGridSize[dim]);
Copy link
Member

Choose a reason for hiding this comment

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

maybe you can use an explicit rounding operator here... instead of a compiler cast.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, that done

@dcoeurjo
Copy link
Member

otherwise it's ok, thanks.

@kerautret
Copy link
Member Author

ok done

@kerautret
Copy link
Member Author

yes with floor, perhaps safer...

@dcoeurjo
Copy link
Member

could you please check travis ?

@kerautret
Copy link
Member Author

Yes I look it

@kerautret
Copy link
Member Author

done should be good now ;)

@dcoeurjo
Copy link
Member

thnkas merging

dcoeurjo added a commit that referenced this pull request Jul 18, 2014
modify type to potentially apply reSampling with grid size <1 (and test ...
@dcoeurjo dcoeurjo merged commit be61711 into DGtal-team:master Jul 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants