diff libinterp/corefcn/mappers.cc @ 21013:7f4c6d594e3d

Finish renaming mapper function finite to isfinite. * mappers.cc (Fisfinite): Call isfinite() rather than finite(). * ov-base.cc (get_umap_name): Change C string representation of enum umap_isfinite to "isfinite". * ov-base.h (enum unary_mapper_t): Change umap_finite to umap_isfinite. * ov-complex.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-float.cc, ov-flt-complex.cc, ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-intx.h, ov-re-mat.cc, ov-re-sparse.cc, ov-scalar.cc: Replace instances of umap_finite to umap_isfinite in macros. * ov.h: Replace instance of umap_finite to umap_isfinite in macro. Adjust code comments for better readability.
author Rik <rik@octave.org>
date Tue, 29 Dec 2015 11:48:45 -0800
parents 77f5591878bf
children fcac5dbbf9ed
line wrap: on
line diff
--- a/libinterp/corefcn/mappers.cc	Tue Dec 29 11:02:26 2015 -0800
+++ b/libinterp/corefcn/mappers.cc	Tue Dec 29 11:48:45 2015 -0800
@@ -917,7 +917,7 @@
   if (args.length () != 1)
     print_usage ();
 
-  return ovl (args(0).finite ());
+  return ovl (args(0).isfinite ());
 }
 
 /*