Skip to content

Commit

Permalink
fixed null ref_im reference crashing fixpix task
Browse files Browse the repository at this point in the history
  • Loading branch information
mjfitzpatrick committed Dec 14, 2023
1 parent d2d3dcc commit 091f1d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/imio/impmmapo.x
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ begin

# Set up the image descriptor.
IM_NDIM(im) = naxes
IM_NPHYSDIM(im) = IM_NPHYSDIM(ref_im)
if (ref_im != NULL)
IM_NPHYSDIM(im) = IM_NPHYSDIM(ref_im)
IM_PIXTYPE(im) = TY_INT
call amovl (axlen, IM_LEN(im,1), IM_MAXDIM)

Expand Down

0 comments on commit 091f1d3

Please sign in to comment.