Permalink
Browse files

correct trace in ordered_list

  • Loading branch information...
1 parent 7c69b67 commit 5d897e03a77391932052470eed3eb4f0e5a48dd0 @meeusr committed Aug 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ordered_list.erl
View
@@ -12,7 +12,7 @@ valid_entry_count([],_Now,_Age,_F,Acc) ->
valid_entry_count([Head|Tail],Now,Age,F,Acc) ->
Diff = F(Now,Head),
- io:format("valid_entry_count ~p\n",[Timediff]),
+ io:format("valid_entry_count ~p\n",[Diff]),
if
Diff < Age ->
valid_entry_count(Tail,Now,Age,F,Acc+1);

0 comments on commit 5d897e0

Please sign in to comment.