Why does scientific notation break the range function?

Yep, and after that there’s 30 lines of Stacktrace garbage that buries the tiny morsel of the error message that could potentially be helpful.

From my perspective as a beginner, cryptic and unhelpful error messages appear to be pretty pervasive in Julia, and it makes it really hard to get started. I don’t know what I’d do without this forum!

But back to the original issue: Should the range function be updated to allow whole numbers for the length definition, even if they’re Floats?

2 Likes