changeset 33031:388c87433483 stable

doc: Add missing hyphen to isscalar docstring (bug #48088) * data.cc: Hyphenate adjective for clarity on object types.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Fri, 16 Feb 2024 00:57:10 -0500
parents 0b8f3470d1fb
children ef4ad50ca70f db2d7d2392ed
files libinterp/corefcn/data.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc	Thu Feb 15 21:42:27 2024 -0500
+++ b/libinterp/corefcn/data.cc	Fri Feb 16 00:57:10 2024 -0500
@@ -3858,7 +3858,7 @@
 @deftypefn {} {@var{tf} =} isscalar (@var{x})
 Return true if @var{x} is a scalar.
 
-A scalar is a single element object of any type for which @code{size (@var{x})}
+A scalar is a single-element object of any type for which @code{size (@var{x})}
 returns @w{@code{[1, 1]}}.
 @seealso{isvector, ismatrix, size}
 @end deftypefn */)