STYLE: dimensionSet lookup with LITERAL, not REGEX

This commit is contained in:
Mark Olesen
2020-10-02 08:24:00 +02:00
parent f9190e2a3c
commit 179e4cbcf2
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ public:
// Constructors // Constructors
//- Construct null (dimensionless). //- Default construct (dimensionless).
dimensionSet(); dimensionSet();
//- Construct from exponents for the first five or all seven dimensions //- Construct from exponents for the first five or all seven dimensions

View File

@ -35,7 +35,7 @@ License
Foam::dimensionSet::dimensionSet(const dictionary& dict, const word& entryName) Foam::dimensionSet::dimensionSet(const dictionary& dict, const word& entryName)
{ {
const entry& e = dict.lookupEntry(entryName, keyType::REGEX); const entry& e = dict.lookupEntry(entryName, keyType::LITERAL);
ITstream& is = e.stream(); ITstream& is = e.stream();
is >> *this; is >> *this;