Skip to content

Commit

Permalink
Fixed isort build err
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinyu95 committed Oct 8, 2017
1 parent f919b9a commit 1179081
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sorting/insertion-sort/img/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ DOT_SOURCES = $(foreach file, $(DOT_OBJECTS), $(file).dot)

#suffix replacement, replace .dot with .png
PNG_OBJECTS = $(DOT_SOURCES:.dot=.png)
PS_OBJS = $(DOT_SOURCES:.dot=.ps)

.SUFFIXES: .eps .jpg .png .dot .ps

Expand Down Expand Up @@ -37,5 +38,4 @@ png: $(PNG_OBJECTS)
dot -Tpng -o $@ $<

clean:
rm -f *.ps *.eps trie-en* *~
rm -f $(PNG_OBJECTS)
rm -f $(PNG_OBJECTS) $(PS_OBJS)
2 changes: 1 addition & 1 deletion sorting/insertion-sort/img/in-place-sort.dot
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
digraph G{
margin=0;
node[shape=record]
node[shape=box]
sorted[label=" ... sorted elements ..."];
x;
unsorted[label=" ... unsorted elements ..."];
Expand Down
2 changes: 1 addition & 1 deletion sorting/insertion-sort/isort-en.tex
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ \section{Improvement 2}
\State $L \gets $ \Call{Next}{$L$}
\EndWhile
\State \Call{Next}{$x$} $\gets L$
\If{$p \eq$ NIL}
\If{$p =$ NIL}
\State $H \gets x$
\Else
\State \Call{Next}{$p$} $\gets x$
Expand Down

0 comments on commit 1179081

Please sign in to comment.