changeset 3420:39496bf0ffdf

[project @ 2000-01-13 06:46:24 by jwe]
author jwe
date Thu, 13 Jan 2000 06:46:24 +0000
parents e71b3d1dd327
children 251c444248bf
files scripts/ChangeLog scripts/general/fliplr.m scripts/general/flipud.m
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-13  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* general/fliplr.m: Eliminate useless copy of arg.
+	* general/flipud.m: Ditto.
+
 2000-01-11  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* linear-algebra/cross.m: Only return a row vector if both args
--- a/scripts/general/fliplr.m
+++ b/scripts/general/fliplr.m
@@ -40,7 +40,6 @@
     usage ("fliplr (x)");
   endif
 
-  y = x;
   nc = columns (x);
   y = x (:, nc:-1:1);
 
--- a/scripts/general/flipud.m
+++ b/scripts/general/flipud.m
@@ -40,7 +40,6 @@
     usage ("flipud (x)");
   endif
 
-  y = x;
   nr = rows (x);
   y = x (nr:-1:1, :);