← Back to team overview

yade-dev team mailing list archive

Re: Make Law2's return bool?

 

Hi Bruno,

2014-01-28 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>:
> I think the requestErase could be moved outside Law2 functors, in
> InteractionLoop, and based on the return value of Law2 (true/false). The
> need to define the return value would make the requirement more visible
> for future devs, and it will let us inherit Law2's more easily.

I agree with this clear and logical solution. We should probably create
a bug not to forget it.

Thanks,

Anton


References