Revision 1886 trunk/src/linad99/model49.cpp

model49.cpp (revision 1886)
68 68
       "prevariable param_init_vector_vector::operator () (int i, int j)",
69 69
       indexmin(), indexmax(), i);
70 70
     }
71
#if defined(__BORLANDC__)
72
#  if (__BORLANDC__  >= 0x0540)
73
     return (prevariable&) (v[i][j]);
74
#  else
75 71
     return v[i][j];
76
#  endif
77
#else
78
#  if ( defined(linux) && __GNUC__ < 4 && !defined(__MINGW64__))
79
     return (prevariable&) (v[i][j]);
80
#  else
81
     return v[i][j];
82
#  endif
83
#endif
84 72
   }
85 73

  
86 74
/**
......
156 144
 "prevariable param_init_matrix_vector::operator () (int i, int j, int k)",
157 145
       indexmin(), indexmax(), i);
158 146
     }
159
#if defined(__BORLANDC__)
160
#  if (__BORLANDC__  >= 0x0540)
161
     return (prevariable&) (v[i](j,k));
162
#  else
163 147
     return v[i](j,k);
164
#  endif
165
#else
166
#  if ( defined(linux) && __GNUC__ < 4 && !defined(__MINGW64__))
167
     return (prevariable&) v[i](j,k);
168
#  else
169
     return v[i](j,k);
170
#  endif
171
#endif
172 148
   }
173 149

  
174 150
/**
......
225 201
       "param_init_bounded_vector_vector::operator () (int i, int j)",
226 202
       indexmin(), indexmax(), i);
227 203
     }
228
#if defined(__BORLANDC__)
229
#  if (__BORLANDC__  >= 0x0540)
230
     return (prevariable&) (v[i][j]);
231
#  else
232 204
     return v[i][j];
233
#  endif
234
#else
235
#  if ( defined(linux) && __GNUC__ < 4 && !defined(__MINGW64__))
236
     return (prevariable&) (v[i][j]);
237
#  else
238
     return v[i][j];
239
#  endif
240
#endif
241 205
   }
242 206

  
243 207
/**
......
313 277
       "param_init_bounded_matrix_vector::operator () (int i, int j, int k)",
314 278
       indexmin(), indexmax(), i);
315 279
     }
316
#if defined(__BORLANDC__)
317
#  if (__BORLANDC__  >= 0x0540)
318
     return (prevariable&) (v[i](j,k));
319
#  else
320 280
     return v[i](j,k);
321
#  endif
322
#else
323
#  if ( defined(linux) && __GNUC__ < 4 && !defined(__MINGW64__))
324
     return (prevariable&) v[i](j,k);
325
#  else
326
     return v[i](j,k);
327
#  endif
328
#endif
329 281
   }
330 282

  
331 283
/**

Also available in: Unified diff