Changeset 3572 in Sophya for trunk/SophyaPI/PIext/nomgfdadapter.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomgfdadapter.cc
r2975 r3572 9 9 #include "pipodrw.h" 10 10 11 #ifndef SANS_EVOLPLANCK12 11 #include "objfitter.h" 13 #endif14 12 15 13 //------------------------------------------------------------------------- … … 53 51 void NOMAdapter_GeneralFitData::SavePPF(POutPersist& pos, string const & nom) 54 52 { 55 #ifdef SANS_EVOLPLANCK56 string tag = nom; // A cause de const57 mG->Write(pos,0,tag);58 #else59 53 ObjFileIO<GeneralFitData> fio(mG); 60 54 fio.Write(pos, nom); 61 #endif62 55 } 63 56 … … 113 106 { 114 107 GeneralFitData* g = NULL; 115 #ifdef SANS_EVOLPLANCK116 g = mG->FitResidus(mfit);117 #else118 108 g = new GeneralFitData(ObjectFitter::FitResidus(*mG,mfit)); 119 #endif120 109 return g; 121 110 } … … 124 113 { 125 114 GeneralFitData* g = NULL; 126 #ifdef SANS_EVOLPLANCK127 g = mG->FitFunction(mfit);128 #else129 115 g = new GeneralFitData(ObjectFitter::FitFunction(*mG,mfit)); 130 #endif131 116 return g; 132 117 }
Note:
See TracChangeset
for help on using the changeset viewer.