Skip to content

Commit 1179081

Browse files
committed
Fixed isort build err
1 parent f919b9a commit 1179081

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

sorting/insertion-sort/img/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ DOT_SOURCES = $(foreach file, $(DOT_OBJECTS), $(file).dot)
44

55
#suffix replacement, replace .dot with .png
66
PNG_OBJECTS = $(DOT_SOURCES:.dot=.png)
7+
PS_OBJS = $(DOT_SOURCES:.dot=.ps)
78

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

@@ -37,5 +38,4 @@ png: $(PNG_OBJECTS)
3738
dot -Tpng -o $@ $<
3839

3940
clean:
40-
rm -f *.ps *.eps trie-en* *~
41-
rm -f $(PNG_OBJECTS)
41+
rm -f $(PNG_OBJECTS) $(PS_OBJS)

sorting/insertion-sort/img/in-place-sort.dot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
digraph G{
22
margin=0;
3-
node[shape=record]
3+
node[shape=box]
44
sorted[label=" ... sorted elements ..."];
55
x;
66
unsorted[label=" ... unsorted elements ..."];

sorting/insertion-sort/isort-en.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ \section{Improvement 2}
403403
\State $L \gets $ \Call{Next}{$L$}
404404
\EndWhile
405405
\State \Call{Next}{$x$} $\gets L$
406-
\If{$p \eq$ NIL}
406+
\If{$p =$ NIL}
407407
\State $H \gets x$
408408
\Else
409409
\State \Call{Next}{$p$} $\gets x$

0 commit comments

Comments
 (0)