Skip to content

Commit

Permalink
fix tikz node name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
0u812 committed Mar 20, 2015
1 parent 7a6da08 commit e26d76b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphfab/draw/tikz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace Graphfab {
std::string result(input);
std::size_t index = 0;
while (true) {
index = input.find(src, index);
index = result.find(src, index);
if (index == std::string::npos) break;

result.replace(index, src.size(), dst);
Expand All @@ -98,7 +98,7 @@ namespace Graphfab {

ss << "\\definecolor{jdorange}{rgb}{0.8, 0.5, 0.5}\n";

ss << "\\definecolor{jdzero}{rgb}{0.9, 0.8, 0}\n";
ss << "\\definecolor{jdzero}{rgb}{1.0, 0.5, 0.5}\n";

ss << "\n";

Expand Down

0 comments on commit e26d76b

Please sign in to comment.