#2783: MoL: Avoid empty array
Reporter: Erik Schnetter Status: new Milestone: Version: Type: bug Priority: minor Component: EinsteinToolkit thorn
Comment (by Roland Haas):
I’d add a comment describing this to the code, otherwise a future reader may wonder why the size of 1 is needed or put the whole block into a `if(nsrsc > 0) {...}` block which makes the reason explicit in code but is a larger and possibly hard to do (if the extra scope causes issues) change.
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2783/mol-avoid-empty-ar...
trac@lists.einsteintoolkit.org