<div dir="ltr"><div>Hello,<br><br></div>This is my code:<br><a href="https://gist.github.com/anonymous/5b9b2c55a7684f5386e2">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>