Hi to all gretl gurus. 

I'm currently writing some app in windows system, which uses libgretl. I've successfully implemented function LSQ using OLS. I thought, ok, let's try Least Absolute Deviation. 

I have made test sample, which calls LAD and then when things became interesting. It outputed same results as LSQ. Then I realize that MODEL holds property ( "errcode"). I checked that out and found out that it was 12. After quick reference and some source code viewing I saw it was something wrong with LAD plugin.

Does anybody know how to solve this puzzle? 

PS: Sorry for bad english.   
--
LP Simon