From fdcdecbaedf0c5a39333c0b68a486b53a3d468cc Mon Sep 17 00:00:00 2001 From: Stephen Smith <steve@fmrib.ox.ac.uk> Date: Sat, 11 Sep 2004 06:06:27 +0000 Subject: [PATCH] *** empty log message *** --- avwmaths.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/avwmaths.c b/avwmaths.c index 5a160d9..dfe80f9 100644 --- a/avwmaths.c +++ b/avwmaths.c @@ -139,7 +139,8 @@ double tmpd; else if (!strncmp(argv[i]+2, "max", 3)) tmpim.i[t*tmpim.z*tmpim.y*tmpim.x+z*tmpim.y*tmpim.x+y*tmpim.x+x]=max; \ else if (!strncmp(argv[i]+2, "min", 3)) tmpim.i[t*tmpim.z*tmpim.y*tmpim.x+z*tmpim.y*tmpim.x+y*tmpim.x+x]=min; \ else if (!strncmp(argv[i]+2, "median", 6)) tmpim.i[t*tmpim.z*tmpim.y*tmpim.x+z*tmpim.y*tmpim.x+y*tmpim.x+x]= \ - median(0.5,tmpdata,n); + median(0.5,tmpdata,n); \ + free(tmpdata); { image_struct tmpim=im; -- GitLab