changeset 16968:e424cdb2ef96

pol2cart.m: Correct typo in error() message. * scripts/general/pol2cart.m: Correctly spell name of function in error() message.
author Rik <rik@octave.org>
date Fri, 12 Jul 2013 20:18:03 -0700
parents 52c1b832d98e
children 58188d5a2587
files scripts/general/pol2cart.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/pol2cart.m	Fri Jul 12 18:06:20 2013 +0100
+++ b/scripts/general/pol2cart.m	Fri Jul 12 20:18:03 2013 -0700
@@ -55,7 +55,7 @@
       r = theta(:,2);
       theta = theta(:,1);
     else
-      error ("pol2car: matrix input must have 2 or 3 columns [THETA, R (, Z)]");
+      error ("pol2cart: matrix input must have 2 or 3 columns [THETA, R (, Z)]");
     endif
   elseif (nargin == 2)
     if (! ((ismatrix (theta) && ismatrix (r))