[ET Trac] #2783: MoL: Avoid empty array
Roland Haas
trac-noreply at einsteintoolkit.org
Wed Mar 6 11:31:52 CST 2024
#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-array
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240306/f1181fe3/attachment.htm>
More information about the Trac
mailing list