← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-pkg/yade/git-trunk] Rev 4087: Fix compilation. (for latter reference regarding coding style)

 

2014-07-17 13:04 GMT+02:00 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>:
> Or even (to an extreme), in one line:
> if ( valPropres[0] > std::max(valPropres[1],valPropres[2]) )
> {whereSigI=0; whereSigII=valPropres[1]>valPropres[2]? 1 : 2; whereSigII=
> valPropres[1]>valPropres[2]? 2 : 1}

I would personally escape this particular style. It is difficult
to read it.

Anton


Follow ups

References