Skip to content

Conversation

StevenPuttemans
Copy link

This fix resolves issue #1118


// --------------------------- Ptr_float ----------------------
Bridge& operator=(const Ptr_float& ) { return *this; }
Ptr_float toPtrFloat() { return Ptr_float(); }
Copy link
Member

Choose a reason for hiding this comment

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

BTW, Looks like this method always create new empty "Ptr", so statement below will not use "input value" at all:

Ptr_float lowerBound = inputs[4].empty() ? (Ptr_float) Ptr<float>() : inputs[4].toPtrFloat();

Copy link
Author

Choose a reason for hiding this comment

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

This is just to fix the build process. If they want to make sure the code is doing something useful, than that is for the guy of the other PR that wrapped this wrongfully xD

Copy link
Author

Choose a reason for hiding this comment

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

But I get what you saying!

@alalek
Copy link
Member

alalek commented Apr 12, 2017

👍

@alalek alalek merged commit 23c0256 into opencv:master Apr 12, 2017
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