Skip to main content
11 events
when toggle format what by license comment
Dec 30, 2016 at 9:36 history edited J. M.'s missing motivation
edited tags
Dec 30, 2016 at 3:30 history edited xzczd CC BY-SA 3.0
edited tags
Dec 19, 2014 at 20:35 vote accept unlikely
Jul 29, 2014 at 19:17 history edited unlikely CC BY-SA 3.0
added 71 characters in body
Jul 29, 2014 at 16:01 answer added user21 timeline score: 14
Jul 27, 2014 at 20:34 comment added Michael E2 @Jens Could this be because DiscreteVariables were added in V9 -- that is, the error is the result of some advance in NDSolve that improves some area but is unreliable in another (hence the message)? (I do not know.) One can still achieve the V8 behavior via f[x_?NumericQ] := UnitBox[...] as Szabolcs has observed.
Jul 27, 2014 at 18:36 comment added Jens I think this is a regression: your code produces the expected answer with no problem in Mathematica version 8.
Jul 27, 2014 at 15:47 answer added Michael E2 timeline score: 6
Jul 27, 2014 at 15:46 comment added Szabolcs This is relevant: reference.wolfram.com/language/ref/DiscreteVariables.html
Jul 27, 2014 at 15:41 answer added Szabolcs timeline score: 9
Jul 27, 2014 at 15:22 history asked unlikely CC BY-SA 3.0