view .dir-locals.el @ 21256:a93fa1b0796e stable

Avoid overflow while reshaping large sparse matrices (bug #42850). * Sparse.cc (reshape): track quotient and remainder of (i*old_nr) divided by new_nr, instead of evaluating i*old_nr explicitly.
author Lachlan Andrew <lachlanbis@gmail.com>
date Sat, 16 Jan 2016 14:03:45 +1100
parents 9ff04de067ce
children df203b20cfc6
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))))