changeset 24644:e04a56630c8a

variable-editor-model.cc: Fix missing parenthesis preventing compilation. * variable-editor-model.cc (type_is_editable): Fix missing parenthesis preventing compilation.
author Rik <rik@octave.org>
date Fri, 26 Jan 2018 19:50:04 -0800
parents 78aff6f14227
children f61502510d08
files libgui/src/variable-editor-model.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/variable-editor-model.cc	Fri Jan 26 19:39:46 2018 -0500
+++ b/libgui/src/variable-editor-model.cc	Fri Jan 26 19:50:04 2018 -0800
@@ -757,7 +757,7 @@
 variable_editor_model::type_is_editable (const octave_value& val,
                                          bool display_error) const
 {
-  if ((val.isnumeric () || val.islogical () || val.iscell ()
+  if ((val.isnumeric () || val.islogical () || val.iscell ())
       && val.ndims () == 2)
     return true;