Fix for assignment of value for UniformDimensionedScalarField if constructed from Istream via dictionary lookup
This commit is contained in:
parent
ac941215d5
commit
512b75bef5
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ Foam::UniformDimensionedField<Type>::UniformDimensionedField
|
|||
{
|
||||
dictionary dict(readStream(typeName));
|
||||
this->dimensions().reset(dict.lookup("dimensions"));
|
||||
this->value() = dict.lookup("value");
|
||||
this->value() = pTraits<Type>(dict.lookup("value"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue