MCSclimate / MCT

Model Coupling Tookit
Other
43 stars 18 forks source link

sMat_test reports junk for local_row_range local_col_range #43

Closed rljacob closed 7 years ago

rljacob commented 7 years ago

In the MCT system test as part of the SMat_test for the DummyMat in cpl.F90, the local_row_range and local_col_range is reported. But these arrays are never initialized in the creation of the sparsematrix so they will report either 0 or a junk value. Junk values might be different which results in a false difference when testing a change.

Fix is to initialize the sMat Av to zero.