lutraconsulting / MDAL

Mesh Data Abstraction Library
http://www.mdal.xyz/
MIT License
160 stars 50 forks source link

Selafin header record not generated correctly #479

Closed nstrahl closed 7 months ago

nstrahl commented 7 months ago

The default header record created in MDAL::DriverSelafin::save and written has a bug. The wrong std::string constructor overload is being used, so the header is populated with garbage (undefined) bytes. This crashes the telemac2d.py script when running a telemac simulation.

PeterPetrik commented 7 months ago

fixed in https://github.com/lutraconsulting/MDAL/pull/480