removed invalid inline specifier

pull/1/head
Sebastian Held 2010-04-21 15:43:39 +02:00
parent 7e47fb7896
commit 1fbffaa502
2 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ void Operator::InitOperator()
ii = Create_N_3DArray(numLines); ii = Create_N_3DArray(numLines);
} }
inline void Operator::Calc_ECOperatorPos(int n, unsigned int* pos) void Operator::Calc_ECOperatorPos(int n, unsigned int* pos)
{ {
unsigned int i = MainOp->SetPos(pos[0],pos[1],pos[2]); unsigned int i = MainOp->SetPos(pos[0],pos[1],pos[2]);
vv[n][pos[0]][pos[1]][pos[2]] = (1-dT*EC_G[n][i]/2/EC_C[n][i])/(1+dT*EC_G[n][i]/2/EC_C[n][i]); vv[n][pos[0]][pos[1]][pos[2]] = (1-dT*EC_G[n][i]/2/EC_C[n][i])/(1+dT*EC_G[n][i]/2/EC_C[n][i]);

View File

@ -106,7 +106,7 @@ protected:
unsigned int m_nyquistTS; unsigned int m_nyquistTS;
//! Calc operator at certain pos //! Calc operator at certain pos
virtual inline void Calc_ECOperatorPos(int n, unsigned int* pos); virtual void Calc_ECOperatorPos(int n, unsigned int* pos);
//EC elements, internal only! //EC elements, internal only!
virtual bool Calc_EC(); virtual bool Calc_EC();