← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2952: Fix --test

 

Bruno,

you have commented that line and it breaks "--test".
Please, have a look.

Anton




On Wed, Nov 2, 2011 at 8:01 AM,  <noreply@xxxxxxxxxxxxx> wrote:
> ------------------------------------------------------------
> revno: 2952
> committer: Anton Gladky <gladky.anton@xxxxxxxxx>
> branch nick: yade
> timestamp: Wed 2011-11-02 07:59:51 +0100
> message:
>  Fix --test
> modified:
>  pkg/dem/SpherePack.cpp
>
>
> --
> lp:yade
> https://code.launchpad.net/~yade-dev/yade/trunk
>
> Your team Yade developers is subscribed to branch lp:yade.
> To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
>
> === modified file 'pkg/dem/SpherePack.cpp'
> --- pkg/dem/SpherePack.cpp      2011-10-31 18:05:09 +0000
> +++ pkg/dem/SpherePack.cpp      2011-11-02 06:59:51 +0000
> @@ -140,7 +140,7 @@
>        if(err || mode<0) throw invalid_argument("SpherePack.makeCloud: at least one of rMean, porosity, psdSizes & psdCumm arguments must be specified. rMean can't be combined with psdSizes.");
>        // adjust uniform distribution parameters with distributeMass; rMean has the meaning (dimensionally) of _volume_
>        const int maxTry=1000;
> -//     if(periodic)(cellSize=size);
> +       if(periodic)(cellSize=size);
>        Real r=0;
>        for(int i=0; (i<num) || (num<0); i++) {
>                Real norm, rand;
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>
>


Follow ups

References