projects
/
libdai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e902b1
)
Fixed little bug in fg2dot.cpp
author
Joris Mooij
<jorism@marvin.jorismooij.nl>
Fri, 5 Sep 2008 15:25:33 +0000
(17:25 +0200)
committer
Joris Mooij
<jorism@marvin.jorismooij.nl>
Fri, 5 Sep 2008 15:25:33 +0000
(17:25 +0200)
utils/fg2dot.cpp
patch
|
blob
|
history
diff --git
a/utils/fg2dot.cpp
b/utils/fg2dot.cpp
index
53e7048
..
a505b7e
100644
(file)
--- a/
utils/fg2dot.cpp
+++ b/
utils/fg2dot.cpp
@@
-44,7
+44,7
@@
int main( int argc, char *argv[] ) {
cerr << "Error reading file " << infile << endl;
return 2;
} else {
- if( string( argv[2] )
=
= "-" )
+ if( string( argv[2] )
!
= "-" )
fg.WriteToDotFile( argv[2] );
else {
cout << "graph G {" << endl;