Skip to content

Commit a17f388

Browse files
committed
Fixed position angle limited to -45 +45 instead of -90 +90
1 parent db58122 commit a17f388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/egg-gencat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ int vif_main(int argc, char* argv[]) {
12791279
});
12801280

12811281
// Bulge and disk have the same position angle, which is completely random
1282-
out.disk_angle = (randomu(seed, ngal) - 0.5)*90.0;
1282+
out.disk_angle = (randomu(seed, ngal) - 0.5)*180.0;
12831283
out.bulge_angle = out.disk_angle;
12841284

12851285
// Bulges: calibration from n>2.5 galaxies and M* > 10.5

0 commit comments

Comments
 (0)