Group: comp.lang.fortran · Group Profile · Search for Origin unknown in comp.lang.fortran
Author: nospam
Date: Jul 13, 2008 10:11
... do, and whoever wrote this code obviously fell victim to the confusion. It does not retroactively change the dimension of the result; too late for that. Instead, the result is stil dimensioned with the original value of npts, but you then proceed to assign it an array with the size of the new npts. The mismatching shapes would be an error, which could quite plausibly crash the program. ...
|