CrankNicolsonDdtScheme: Corrected input of off-centering coefficient of 1
This commit is contained in:
parent
9fbe68fca6
commit
1bb7db2b79
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ CrankNicolsonDdtScheme<Type>::CrankNicolsonDdtScheme
|
|||
|
||||
if (firstToken.isNumber())
|
||||
{
|
||||
const scalar ocCoeff = firstToken.scalarToken();
|
||||
const scalar ocCoeff = firstToken.number();
|
||||
if (ocCoeff < 0 || ocCoeff > 1)
|
||||
{
|
||||
FatalIOErrorInFunction
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue