<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi All,<br>
<br>
I noticed a small bug in <br>
https://github.com/fieldtrip/fieldtrip/blob/master/inverse/dipole_fit.m<br>
<br>
On line 89, instead of  str2fun it should be str2func. With str2fun it was not enabling use of an explicit optimization algorithm.<br>
<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chiran Doshi, MS<br>
MEG system technologist<br>
Department of Newborn Medicine<br>
Boston Children's Hospital<br>
Phone: 781-216-11<font size="2">36</font><br>
Fax: 781-216-1172<br>
<br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>