rniswon / mfnwt

MODFLOW-NWT - Version: 1.1.0 Newton Formulation for MODFLOW-2005 For more information go to http://water.usgs.gov/ogw/modflow-nwt
4 stars 7 forks source link

LAYNUM initialized to 0 #32

Closed emorway-usgs closed 5 years ago

emorway-usgs commented 5 years ago

This is a problem when writing UZF fluxes to the cbc file. UZF1BD attempts to access FINF(ic,ir,laynum), but of course FINF(1,1,0) will crash

emorway-usgs commented 5 years ago

With commit 1bea9a5, FINF will no longer try to access an index that doesn't exist.