changeset 3832:39aee8115584

[project @ 2001-05-15 17:14:14 by jwe]
author jwe
date Tue, 15 May 2001 17:14:15 +0000
parents 0e6e7f6c727a
children f3278ec3ccb7
files liboctave/Array2.h liboctave/ChangeLog scripts/finance/pmt.m
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Array2.h
+++ b/liboctave/Array2.h
@@ -103,7 +103,7 @@
 
   Array2<T>& operator = (const Array2<T>& a)
     {
-      if (this != &a && rep != a.rep)
+      if (this != &a)
 	{
 	  Array<T>::operator = (a);
 	  d1 = a.d1;
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-15  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* Array2.h (Array2<T>::operator = (const Array2<T>&)):
+	Don't check for rep != a.rep.
+
 2001-05-02  Mumit Khan  <khan@nanotech.wisc.edu>
 
 	* oct-fftw.h, oct-fftw.cc: New files.
--- a/scripts/finance/pmt.m
+++ b/scripts/finance/pmt.m
@@ -19,7 +19,7 @@
 ## Return the amount of periodic payment necessary to amortize a loan
 ## of amount a with interest rate @var{r} in @var{n} periods.
 ##
-## The optional argument @var{l} may be used to specify an terminal
+## The optional argument @var{l} may be used to specify a terminal
 ## lump-sum payment.
 ##
 ## The optional argument @var{method} may be used to specify whether