Yeah, I'd guess there is no explicit epsilon for that indexing check -- it's just using the limit of double accuracy to work out whether it's an integer. I assume this can produce some wacky behaviour for Large arrays.
-
-
Yes perhaps I'm missing another thing here. I meant actual try-catch in Matlab where you don't know what the error is in the end. Makes things very hard to debug.
-
You know the error, that is how you catch it. See section called "Handle Different Types of Errors": http://se.mathworks.com/help/matlab/ref/try.html …
-
That is what try-catch is. If you use it to catch all errors, that is REALLY bad practice.
-
Yes indeed. It's not the only bad practice. eval is another great evil... I was once in a place where they had written an entire script using eval commands... *shudder*
- End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.