Mercurial > hg > octave-lyh
diff src/xpow.cc @ 1358:dc9c01f66a19
[project @ 1995-09-05 21:10:01 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 21:12:04 +0000 |
parents | 19c10b8657d5 |
children | 1da33230f424 |
line wrap: on
line diff
--- a/src/xpow.cc +++ b/src/xpow.cc @@ -186,8 +186,10 @@ } else { -// Too much copying? -// XXX FIXME XXX -- we shouldn\'t do this if the exponent is large... + // Too much copying? + // XXX FIXME XXX -- we shouldn't do this if the exponent is + // large... + Matrix atmp; if (btmp < 0) { @@ -362,8 +364,10 @@ } else { -// Too much copying? -// XXX FIXME XXX -- we shouldn\'t do this if the exponent is large... + // Too much copying? + // XXX FIXME XXX -- we shouldn't do this if the exponent is + // large... + ComplexMatrix atmp; if (btmp < 0) { @@ -449,7 +453,8 @@ int nr = b.rows (); int nc = b.columns (); -// For now, assume the worst. + // For now, assume the worst. + if (a < 0.0) { Complex atmp (a);