sandialabs / seacas

The Sandia Engineering Analysis Code Access System (SEACAS) is a suite of preprocessing, postprocessing, translation, and utility applications supporting finite element analysis software using the Exodus database file format.
Other
131 stars 79 forks source link

IOSS: Partial conversion from vector.data() to Data(vector) #435

Closed gsjaardema closed 6 months ago

gsjaardema commented 7 months ago

The vector.data() method is not guaranteed to return nullptr if vector is empty. Use a template wrapper function to guarantee the expected nullptr return for empty vectors.