<div dir="ltr">What's the content of the record "constraint" in SpecCon? It seems the field <span class="" style="color:teal;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">SpecCon</span><span class="" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">#constraint.morphology </span>is undefined.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 15, 2014 at 11:54 PM, Yves S. Garret <span dir="ltr"><<a href="mailto:yoursurrogategod@gmail.com" target="_blank">yoursurrogategod@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br><br></div>This is my code:<br><a href="https://gist.github.com/anonymous/5b9b2c55a7684f5386e2" target="_blank">https://gist.github.com/anonymous/5b9b2c55a7684f5386e2</a><br>
<div><br>When I run my code inside of erlang (17.0), this is the error that I get:<br>
7> genotype:create_test().<br>{aborted,{undef,[{morphology,undefined,[sensors],[]},<br>                 {morphology,get_InitSensors,1,<br>                             [{file,"morphology.erl"},{line,8}]},<br>
                 {genotype,construct_Cortex,3,<br>
                           [{file,"genotype.erl"},{line,41}]},<br>                 {genotype,construct_Agent,3,<br>                           [{file,"genotype.erl"},{line,20}]},<br>                 {genotype,'-create_test/0-fun-0-',0,<br>

                           [{file,"genotype.erl"},{line,434}]},<br>                 {mnesia_tm,apply_fun,3,[{file,"mnesia_tm.erl"},{line,833}]},<br>                 {mnesia_tm,execute_transaction,5,<br>

                            [{file,"mnesia_tm.erl"},{line,813}]},<br>                 {erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,661}]}]}}<br><br></div><div>genotype.erl and morphology.erl are in the directory, so why can't genotype's function call morphology's functions?  Or am I missing something else entirely?<br>

<br></div><div>Thanks.<br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>