Commit a7711038 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

CrankNicolsonDdtScheme: Corrected input of off-centering coefficient of 1

parent 23210323
......@@ -308,7 +308,7 @@ CrankNicolsonDdtScheme<Type>::CrankNicolsonDdtScheme
if (firstToken.isNumber())
{
const scalar ocCoeff = firstToken.scalarToken();
const scalar ocCoeff = firstToken.number();
if (ocCoeff < 0 || ocCoeff > 1)
{
FatalIOErrorInFunction
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment