Mercurial > octave-nkf
view .dir-locals.el @ 17586:8334144458a4
skewness.m: Fix "division by zero" warnings. Improve input validation for FLAG.
* scripts/statistics/base/skewness.m: Only divide by std^3 when it is non-zero.
Check that FLAG is scalar before using. Increase test tolerance to 2*eps to
avoid failure on some platforms. Add %!test for division-by-zero warnings.
author | Julien Bect <julien.bect@supelec.fr> |
---|---|
date | Mon, 07 Oct 2013 15:21:06 +0200 |
parents | 7600200a54c8 |
children | 9ff04de067ce |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (string-match "\\.h\\'" (buffer-file-name)) (unless (string-match "/gnulib/" (buffer-file-name)) (c++-mode) (c-set-style "gnu")))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))