barbagroup / geoclaw

A fork of GeoClaw (http://www.clawpack.org/geoclaw) for hydrocarbon overland flow
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

[Bug] Array of row indices is not initialized as expected #18

Closed piyueh closed 5 years ago

piyueh commented 5 years ago

Fortran does not initialize a newly allocated array with zeros, which is not what I expected. So there's a bug that the rows array of a SparsePattern object is not initialized correctly. It has to be manually initialized with zeros.