# HG changeset patch # User Jaroslav Hajek # Date 1259147103 -3600 # Node ID 1fc9fd052f0c0e26cf37c87ff22799f880ce1669 # Parent 11f9c592b035d1067daae72561c30c26a27619ba fix typo in expm diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-11-14 Jaroslav Hajek + + * linear-algebra/expm.m: Fix typo. + 2009-11-22 Michael Goffioul * plot/print.m: Properly set the default ghostscript_binary diff --git a/scripts/linear-algebra/expm.m b/scripts/linear-algebra/expm.m --- a/scripts/linear-algebra/expm.m +++ b/scripts/linear-algebra/expm.m @@ -139,7 +139,7 @@ ## inverse balancing. d = diag (d); r = d * r / d; - r = r(p, p); + r(p, p) = r; ## Inverse trace reduction. if (trshift >0) r *= exp (trshift);