Use proper prefix when checking options_left - #44
Conversation
|
I didn't realise that this could be a non top level option. What happens if you have: |
Good point, I didn't think of that case. I am erring on the side of keeping the current behaviour to be consistent with other options. What do you think? |
But in my example here there are multiple levels of nesting, so identifying the default fallback is not obvious. Personally I think having a single global value is the best approach. |
Each
I'm not necessarily opposed. It'd be nice to have more specificity but this is just a debugging flag after all. |
Up to you. If you do want to leave it like this I would find a comment helpful effectively stating that intermediate flags are deliberately ignored. |
I have come around to this. PETSc only tests for the "global" |
Fixes using
-prefix_options_leftfor scoped warnings.