changeset 3370:0b88d26ed552

[project @ 1999-11-21 16:34:51 by jwe]
author jwe
date Sun, 21 Nov 1999 16:34:51 +0000
parents f37ca3017116
children 86873384cd10
files doc/interpreter/matrix.txi src/ChangeLog src/ov.cc
diffstat 3 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/matrix.txi	Sun Nov 21 16:26:08 1999 +0000
+++ b/doc/interpreter/matrix.txi	Sun Nov 21 16:34:51 1999 +0000
@@ -167,13 +167,7 @@
 
 @c XXX FIXME XXX -- is this really worth documenting?
 @c
-@c @defvr {Built-in Variable} ok_to_lose_imaginary_part
-@c If the value of @code{ok_to_lose_imaginary_part} is nonzero, implicit
-@c conversions of complex numbers to real numbers are allowed (for example,
-@c by fsolve).  If the value is @code{"warn"}, the conversion is allowed,
-@c but a warning is printed.  Otherwise, an error message is printed and
-@c control is returned to the top level.  The default value is
-@c @code{"warn"}.
+@c @DOCSTRING(ok_to_lose_imaginary_part)
 @c 
 @c XXX FIXME XXX -- this is here because it is used by @code{ones},
 @c @code{zeros}, @code{rand}, etc.
--- a/src/ChangeLog	Sun Nov 21 16:26:08 1999 +0000
+++ b/src/ChangeLog	Sun Nov 21 16:34:51 1999 +0000
@@ -6,6 +6,7 @@
 	* DLD-FUNCTIONS/sort.cc (Fsort): Ditto.
 	* mappers.cc (Fisinf, Fisnan, Ffinite): Ditto.
 	* data.cc (Fall, Fany, Fdiag, Fones, Fzeros, Feye, Flinspace): Ditto.
+	* ov.cc (Vok_to_lose_imaginary_part): Ditto.
 
 1999-11-20  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
--- a/src/ov.cc	Sun Nov 21 16:26:08 1999 +0000
+++ b/src/ov.cc	Sun Nov 21 16:34:51 1999 +0000
@@ -1530,7 +1530,15 @@
 @end defvr");
 
   DEFVAR (ok_to_lose_imaginary_part, "warn", ok_to_lose_imaginary_part,
-    "silently convert from complex to real by dropping imaginary part");
+    "-*- texinfo -*-\n\
+@defvr {Built-in Variable} ok_to_lose_imaginary_part\n\
+If the value of @code{ok_to_lose_imaginary_part} is nonzero, implicit\n\
+conversions of complex numbers to real numbers are allowed (for example,\n\
+by fsolve).  If the value is @code{\"warn\"}, the conversion is allowed,\n\
+but a warning is printed.  Otherwise, an error message is printed and\n\
+control is returned to the top level.  The default value is\n\
+@code{\"warn\"}.\n\
+@end defvr");
 
   DEFVAR (prefer_column_vectors, 1.0, prefer_column_vectors,
     "prefer column/row vectors");