<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I thought that pow was already overloaded for dvar_vectors. <div>See <a href="http://admb-project.org/documentation/api/fvar_8hpp.html#aad01213052d6d5ea585a60b19ef16fa0">http://admb-project.org/documentation/api/fvar_8hpp.html#aad01213052d6d5ea585a60b19ef16fa0</a></div><div>This function is suspicious though because there's no documentation.</div><div><br></div><div>I'm attaching a test file that sends a random effects vector to the function Hill(). It produces the same errors.<div><br></div><div><div><div>bash-3.2$ admb -r testHill_RE</div><div><br></div><div>*** tpl2rem testHill_RE</div><div><br></div><div>*** CXXFLAGS="" adcomp -r testHill_RE</div><div>g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -I/usr/local/admb/include testHill_RE.cpp</div><div><br></div><div>*** LDFLAGS=" " adlink -r testHill_RE</div><div>g++ -L/usr/local/admb/lib testHill_RE.o -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o testHill_RE</div><div>Undefined symbols:</div><div>  "pow(dvector const&, dvar_vector const&)", referenced from:</div><div>      Hill(dvector const&, dvar_vector const&, dvar_vector const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, dvar_vector const&, dvar_vector const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, prevariable const&, dvar_vector const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, prevariable const&, dvar_vector const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, dvar_vector const&, prevariable const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, dvar_vector const&, prevariable const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, prevariable const&, prevariable const&, dvar_vector const&)in testHill_RE.o</div><div>      Hill(dvector const&, prevariable const&, prevariable const&, dvar_vector const&)in testHill_RE.o</div><div>ld: symbol(s) not found</div><div>collect2: ld returned 1 exit status</div><div><br></div><div>Error: could not create testHill_RE</div></div></div><div></div></div></body></html>