Changeset 1ce31f for pcp/src/output.c


Ignore:
Timestamp:
Apr 21, 2008, 6:38:05 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
9bebe0
Parents:
48cbc9
Message:

OutputSrcPsiDensity(): now returns int instead of void

0 means everything is ok, 1 means error. Return code is so far not used anywhere else in the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/output.c

    r48cbc9 r1ce31f  
    300300 * \param *P Problem at hand
    301301 * \param type Current minimisation state
     302 * \return 0 - file written, 1 - unable to open files for writing
    302303 * \note This serves as a backup file, when the process is terminated and one would like to restart it at the
    303304 *       current calculation lateron, see ReadSrcPsiDensity(). Note also that it is not necessary to specify the
     
    307308 *  each other
    308309 */
    309 void OutputSrcPsiDensity(struct Problem *P, enum PsiTypeTag type)
     310int OutputSrcPsiDensity(struct Problem *P, enum PsiTypeTag type)
    310311{
    311312  int i,j,k, Index, zahl, owner;
     
    466467    fclose(SrcPsiData);
    467468  SpeedMeasure(P,ReadnWriteTime,StopTimeDo);
     469 
     470  return 0;
    468471}
    469472
Note: See TracChangeset for help on using the changeset viewer.