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

wrong return value #485

Open
ReinhardHameeteman opened this issue Feb 10, 2017 · 1 comment
Open

wrong return value #485

ReinhardHameeteman opened this issue Feb 10, 2017 · 1 comment

Comments

@ReinhardHameeteman
Copy link

https://github.com/opengm/opengm/blob/master/include/opengm/functions/potts.hxx

line 121

template <class T, class I, class L>
inline T
PottsFunction<T, I, L>::valueNotEqual()const {
return valueEqual_;
}

I would expect this function to return valueNotEqual_.

This worries me a bit. Could someone please indicate what the impact of this issue is?

@DerThorsten
Copy link
Collaborator

Hi this is fixed in #486 , but this function was more or less unused, but this, it was a bug.
Thanks for pointing it out

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

No branches or pull requests

2 participants