diff scripts/quaternion/quaternion.m @ 3458:d25bc039237b

[project @ 2000-01-19 09:36:14 by jwe]
author jwe
date Wed, 19 Jan 2000 09:36:28 +0000
parents e031284eea27
children 22bd65326ec1
line wrap: on
line diff
--- a/scripts/quaternion/quaternion.m
+++ b/scripts/quaternion/quaternion.m
@@ -85,7 +85,7 @@
     elseif (! is_scalar (theta))
       error ("theta must be a scalar");
     elseif (norm (vv) == 0)
-      error ("quaternion: vv is zero.");
+      error ("quaternion: vv is zero");
     elseif (abs (norm (vv) - 1) > 1e-12)
       warning ("quaternion: ||vv|| != 1, normalizing")
       vv = vv / norm (vv);
@@ -104,7 +104,7 @@
       usage ("w = quaterion (a, b, c, d)");
     endif
     if (! (is_scalar (w) && is_scalar (x) && is_scalar (y) && is_scalar (z)))
-      error ("input values must be scalars.");
+      error ("input values must be scalars");
     endif
     a = [w, x, y, z];