Mercurial > hg > octave-nkf
changeset 14634:7e10eb490b87
Fix quotes in bitset (bug #36458)
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 14 May 2012 02:09:27 -0400 |
parents | 056ea51070b8 |
children | f8d5095fa90d |
files | scripts/general/bitset.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/bitset.m +++ b/scripts/general/bitset.m @@ -54,7 +54,7 @@ elseif (isinteger (A)) Bmax = intmax (cl); ## FIXME: Better way to get number of bits than regexping? - Amax = str2num (nthargout (4, @regexp, cl, "\d{1,2}"){1}); + Amax = str2num (nthargout (4, @regexp, cl, '\d{1,2}'){1}); else error ("bitset: invalid class %s", cl); endif