From: Siraaj Khandkar Date: Thu, 9 Aug 2012 06:22:08 +0000 (-0400) Subject: Bar string should never be empty. X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=eba1d8be27342cd19f1be1bed0d3937a468f544a;p=cellular-automata.git Bar string should never be empty. --- diff --git a/003/src/life.erl b/003/src/life.erl index 4c71251..4f3b2e5 100644 --- a/003/src/life.erl +++ b/003/src/life.erl @@ -13,7 +13,7 @@ -record(state, {x :: non_neg_integer() ,y :: non_neg_integer() ,n :: pos_integer() - ,bar :: string() + ,bar :: nonempty_string() ,board :: array() ,gen_count :: pos_integer() ,gen_duration :: non_neg_integer()