view .dir-locals.el @ 29193:b2d5ee958d7f stable

ode_event_handler.m: Fix mishandling of event edge types and multiple events (bug #59709). * ode_event_handler.m: Correctly find events where either the direction does not matter (dir == 0) or where the edge type matches that specified in direction (dir == sign (evt)). When multiple events occur, just choose the first valid one and return the index and time of the event based on that. This simplifies the calculation of tnew and is Matlab-compatible.
author Rik <rik@octave.org>
date Thu, 17 Dec 2020 15:57:51 -0800
parents df203b20cfc6
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))