Changed logical coersion to conditional

logical(Betahat.soslasso) ---> abs(Betahat.soslasso)>0