Skip to content

Commit

Permalink
fix extract for bubble and lamp-post PL sources
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmatthews committed Aug 30, 2023
1 parent 9974795 commit c5a0977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/extract.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ extract (w, p, itype)
* thesis
*/

if (itype == PTYPE_STAR || itype == PTYPE_BL || itype == PTYPE_AGN)
if (itype == PTYPE_STAR || itype == PTYPE_BL || (itype == PTYPE_AGN && geo.pl_geometry == PL_GEOMETRY_SPHERE))
{
stuff_v (pp.x, x);
renorm (x, 1.);
Expand Down

0 comments on commit c5a0977

Please sign in to comment.