STYLE: dimensionSet lookup with LITERAL, not REGEX
This commit is contained in:
parent
f9190e2a3c
commit
179e4cbcf2
@ -173,7 +173,7 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null (dimensionless).
|
||||
//- Default construct (dimensionless).
|
||||
dimensionSet();
|
||||
|
||||
//- Construct from exponents for the first five or all seven dimensions
|
||||
|
@ -35,7 +35,7 @@ License
|
||||
|
||||
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();
|
||||
|
||||
is >> *this;
|
||||
|
Loading…
Reference in New Issue
Block a user