[ET Trac] #2783: MoL: Avoid empty array

Erik Schnetter trac-noreply at einsteintoolkit.org
Wed Mar 6 10:39:11 CST 2024


#2783: MoL: Avoid empty array

 Reporter: Erik Schnetter
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: minor
Component: EinsteinToolkit thorn

Automatic C arrays cannot be empty. Use a size-1 array instead if necessary.

See [https://bitbucket.org/cactuscode/cactusnumerical/pull-requests/21](https://bitbucket.org/cactuscode/cactusnumerical/pull-requests/21)

Found by enabling run-time compiler checks in debug mode.

--
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/b3eb6d2a/attachment.htm>


More information about the Trac mailing list