view .dir-locals.el @ 20392:a3bf503652b2

iscolormap: relax input check - specially in [0 1] range. * scripts/image/iscolormap.m: relax input check. Allow for colormap of class single and values outside the [0 1] range. What to do in the case of values outside the [0 1] will need to be a per-function choice, in order to meet Matlab compatibility. Also, not Matlab supported, a colormap could perfectly be of class integer. * scripts/image/cmpermute.m, scripts/image/cmunique.m, scripts/image/imshow.m: add input check for values outside the [0 1] range.
author Carnë Draug <carandraug@octave.org>
date Thu, 16 Jul 2015 18:21:27 +0100
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))