[Bug] Overflow in mesh constructor
Describe the bug Error 'IndxBnds': Index out of bounds. in AreaMesh at line 82 from global at line 9
To Reproduce Steps to reproduce the behavior:
- Go to '../morpho/examples/cholesteric/cholesteric.morpho'
- Change dx to dx = 0.00000000001
- Run morpho5 cholesteric.morpho
- See error
Expected behavior Error should not be there or the error should say that the mesh has an upper bound.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
What's the status of this?
I have not yet started debugging this issue
Great can you de-assign yourself @ConduitDan and reassign when you're actively working on it. It may be something I jump in on (it's a minor error really...)
So i think what we need to do is add range count checking to the functions in mesh builder. What is the current preferred method if the check fails. I don't think there is a way of throwing an error yet.
I'll start with a printed error with a return nil
Agreed @ConduitDan I think this needs 0.6 and error raising...
We've got error raising now! I'm assigning to me!
Woohoo error raising!
Revisiting this