try except #2894
-
Hi Eventhough it converges for 0.5ns(I checked 0.5ns as the initial time step and it converged), when it comes to except, it does not. Can't I solve it in that order? What would be the reason? Appreciate your comments. If necessary I can upload the code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
There's not enough information here to really tell. Please publish a minimal failing example. |
Beta Was this translation helpful? Give feedback.
OK, I think I can tell you what's going on here. However for future reference, there are a couple of issues with the above. First, it's important to format code and output as code in your comment by surrounding it with triple backticks:
If you don't do this then GitHub will misinterpret some of the code as format markings and the result won't be legal code. I have edited your comment to correctly format the code (I also put in that the code is in python3 so it get's syntax highlighting, but that's not strictly needed).
Next, I tried to run your code and discovered that I couldn't because it depends on
domain.msh
. When posting a failing example, it's likely that others w…