view .dir-locals.el @ 18080:35464baa7d99

Overhaul max/min implementations for Sparse matrices to fix bug #40743. * CSparse.cc (max, min): Declare variables for matrix A, rows and columns, and B, rows and columns. Test A & B sizes and if there is a mismatch check that one of them is not a null matrix before issuing an error. * dSparse.cc (max, min): Declare variables for matrix A, rows and columns, and B, rows and columns. Test A & B sizes and if there is a mismatch check that one of them is not a null matrix before issuing an error.
author Rik <rik@octave.org>
date Wed, 04 Dec 2013 14:15:01 -0800
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))))