Line 75 in your tpl file should be dvar_vector tmp=solve(Vi,res,ld,sgn); Sorry this is so finicky. Maybe eventually we will get past pretty printing documentation and just fix stuff. Dave