diff --git a/src/scippneutron/absorption/base.py b/src/scippneutron/absorption/base.py index 7eb0e58ba..f171b297a 100644 --- a/src/scippneutron/absorption/base.py +++ b/src/scippneutron/absorption/base.py @@ -30,8 +30,8 @@ def compute_transmission_map( values=sc.concat( [ sc.sin(theta) * sc.cos(phi), - sc.broadcast(sc.cos(theta), sizes={**phi.sizes, **theta.sizes}), sc.sin(theta) * sc.sin(phi), + sc.broadcast(sc.cos(theta), sizes={**phi.sizes, **theta.sizes}), ], dim='row', )