| [26740] | 1 | Index: ../trunk-jpl/src/m/classes/sampling.py | 
|---|
|  | 2 | =================================================================== | 
|---|
|  | 3 | --- ../trunk-jpl/src/m/classes/sampling.py      (revision 26019) | 
|---|
|  | 4 | +++ ../trunk-jpl/src/m/classes/sampling.py      (revision 26020) | 
|---|
|  | 5 | @@ -54,9 +54,9 @@ | 
|---|
|  | 6 | # Temporal correlation factor | 
|---|
|  | 7 | self.phi = 0 | 
|---|
|  | 8 | # Exponent in fraction SPDE (default=2, biLaplacian covariance operator) | 
|---|
|  | 9 | -        self.alpha = 2 | 
|---|
|  | 10 | +        self.alpha = 2 | 
|---|
|  | 11 | # Seed for pseudorandom number generator (default -1 for random seed) | 
|---|
|  | 12 | -        self.alpha = -1 | 
|---|
|  | 13 | +        self.alpha = -1 | 
|---|
|  | 14 | # Default output | 
|---|
|  | 15 | self.requested_outputs = ['default'] | 
|---|
|  | 16 | return self | 
|---|
|  | 17 | @@ -88,11 +88,4 @@ | 
|---|
|  | 18 | WriteData(fid,prefix,'object',self,'fieldname','robin','format','Boolean') | 
|---|
|  | 19 | WriteData(fid,prefix,'object',self,'fieldname','seed','format','Integer') | 
|---|
|  | 20 |  | 
|---|
|  | 21 | -        # Process requested outputs | 
|---|
|  | 22 | -               outputs = self.requested_outputs | 
|---|
|  | 23 | -               indices = [i for i, x in enumerate(outputs) if x == 'default'] | 
|---|
|  | 24 | -                  if len(indices) > 0: | 
|---|
|  | 25 | -            outputscopy = outputs[0:max(0, indices[0] - 1)] + self.defaultoutputs(md) + outputs[indices[0] + 1:] | 
|---|
|  | 26 | -            outputs = outputscopy | 
|---|
|  | 27 | -               WriteData(fid,prefix,'data',outputs,'name','md.sampling.requested_outputs','format','StringArray') | 
|---|
|  | 28 | -    # }}} | 
|---|
|  | 29 | \ No newline at end of file | 
|---|
|  | 30 | +    # }}} | 
|---|