# HG changeset patch # User John Donoghue # Date 1428330560 14400 # Node ID c66909c234e6771c6c7d185b11c6642a2f5df117 # Parent 91e1da1d19183c23cfae2807c2448e131a665ec1 Allow bool_scalar types for graphics array properties (Bug #44699) * libinterp/corefcn/graphics.cc (array_property::validate): set xok to true also if is bool_scalar diff -r 91e1da1d1918 -r c66909c234e6 libinterp/corefcn/graphics.cc --- a/libinterp/corefcn/graphics.cc Mon Apr 06 04:18:47 2015 -0700 +++ b/libinterp/corefcn/graphics.cc Mon Apr 06 10:29:20 2015 -0400 @@ -1333,7 +1333,7 @@ xok = false; } else - xok = v.is_numeric_type (); + xok = v.is_numeric_type () || v.is_bool_scalar (); if (xok) {