aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 79c2f832..ea7be5e0 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -316,12 +316,13 @@ int main(int argc, char *argv[])
double osf;
- if ( random() > RAND_MAX/2 ) {
- osf = 1.0;
- } else {
- osf = 2.0;
- }
+ //if ( random() > RAND_MAX/2 ) {
+ // osf = 1.0;
+ //} else {
+ // osf = 2.0;
+ //}
//STATUS("Image %i scale factor %f\n", i, osf);
+ osf = gaussian_noise(1.0, 0.3);
/* Set up a random orientation */
orientation = random_quaternion();