Changeset 79290f for pcp/src/gramsch.c


Ignore:
Timestamp:
Jun 7, 2008, 1:13:29 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
02bc3c
Parents:
a97897
Message:

config.h is included in each and every file. After trying to compile on JUMP (with xlc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/gramsch.c

    ra97897 r79290f  
    1414*/
    1515
     16#ifdef HAVE_CONFIG_H
     17#include <config.h>
     18#endif
     19
    1620#include <stdlib.h>
    1721#include <stdio.h>
     
    2024
    2125// use double precision fft when we have it
    22 #ifdef HAVE_CONFIG_H
    23 #include <config.h>
    24 #endif
    25 
    2626#ifdef HAVE_DFFTW_H
    2727#include "dfftw.h"
     
    723723 * \param Type2test basically current minimisation type, see RunStruct#CurrentMin
    724724 */
    725 void TestGramSch(struct Problem *P, struct LatticeLevel *Lev, struct Psis *Psi, int Type2test) {
     725void TestGramSch(struct Problem *P, struct LatticeLevel *Lev, struct Psis *Psi, enum PsiTypeTag Type2test) {
    726726  double LocalSP=0.0,PsiSP;
    727727  int i,j,k,s,RecvSource;
     
    872872  } while ((NotOk != 0) && (iter < max_GramSch_iter));
    873873  if (P->Call.out[StepLeaderOut]) { // final check if there have been any un-orthogonal pairs
    874     if (Type2test != -1) {
     874    if (Type2test <= Extra) {
    875875      if (NotOk == 0) {
    876876        fprintf(stderr,"(%i)TestGramSchm on %s: Ok !\n",P->Par.my_color_comm_ST, P->R.MinimisationName[Type2test]);
Note: See TracChangeset for help on using the changeset viewer.