[opengm] 10/40: bugfix == -> =
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Feb 14 16:06:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository opengm.
commit e98c703ba008b9f514d4db9cbb1f025a1de563f5
Author: joergkappes <kappes at math.uni-heidelberg.de>
Date: Fri Nov 27 15:05:31 2015 +0100
bugfix == -> =
---
src/converter/matching2opengm.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/converter/matching2opengm.cxx b/src/converter/matching2opengm.cxx
index 7e2b3f1..64bc2b5 100644
--- a/src/converter/matching2opengm.cxx
+++ b/src/converter/matching2opengm.cxx
@@ -407,7 +407,7 @@ int main(int argc, const char* argv[] ) {
const size_t l2 = temp[i][m].second;
if(var1<var2){
if(Adj[var1][var2]!=1){
- Adj[var1][var2]==1;
+ Adj[var1][var2]=1;
LabelType nL[2];
nL[0] = gm.numberOfLabels(var1);
nL[1] = gm.numberOfLabels(var2);
@@ -417,7 +417,7 @@ int main(int argc, const char* argv[] ) {
}
else{
if(Adj[var2][var1]!=1){
- Adj[var2][var1]==1;
+ Adj[var2][var1]=1;
LabelType nL[2];
nL[0] = gm.numberOfLabels(var2);
nL[1] = gm.numberOfLabels(var1);
@@ -447,7 +447,7 @@ int main(int argc, const char* argv[] ) {
const size_t l2 = temp[i][m].second;
if(var1<var2){
if(Adj[var1][var2]!=1){
- Adj[var1][var2]==1;
+ Adj[var1][var2]=1;
LabelType nL[2];
nL[0] = gm.numberOfLabels(var1);
nL[1] = gm.numberOfLabels(var2);
@@ -457,7 +457,7 @@ int main(int argc, const char* argv[] ) {
}
else{
if(Adj[var2][var1]!=1){
- Adj[var2][var1]==1;
+ Adj[var2][var1]=1;
LabelType nL[2];
nL[0] = gm.numberOfLabels(var2);
nL[1] = gm.numberOfLabels(var1);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git
More information about the debian-science-commits
mailing list