Skip to content

Commit

Permalink
correct trace in ordered_list
Browse files Browse the repository at this point in the history
  • Loading branch information
meeusr committed Aug 26, 2012
1 parent 7c69b67 commit 5d897e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ordered_list.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d897e0

Please sign in to comment.