r61: Added support for new SGP library
[ctsim.git] / src / sdf-1.c
index d9119cbafc5eb8030baf3291360ba1c8a51edb0f..0b591c784efbf5c87738652893f6dbbec83f77c0 100644 (file)
@@ -2,8 +2,11 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sdf-1.c,v 1.5 2000/05/16 04:33:59 kevin Exp $
+**  $Id: sdf-1.c,v 1.6 2000/05/24 22:50:04 kevin Exp $
 **  $Log: sdf-1.c,v $
+**  Revision 1.6  2000/05/24 22:50:04  kevin
+**  Added support for new SGP library
+**
 **  Revision 1.5  2000/05/16 04:33:59  kevin
 **  Improved option processing
 **
@@ -34,6 +37,7 @@
 **  along with this program; if not, write to the Free Software
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ******************************************************************************/
+
 /* FILE
  *   sdf-1.c             Filter a single SDF file
  */
@@ -139,7 +143,7 @@ sdf1_main (int argc, char *const argv[])
   out_file = argv[optind + 1];
 
 
-  if (opt_invert || opt_log || opt_exp) {
+  if (opt_invert || opt_log || opt_exp || opt_sqr || opt_sqrt) {
     int ix, iy;
 
     im_in = image_load (in_file);