Commit c39f2a1a authored by Mark Olesen's avatar Mark Olesen
Browse files

Switch: fixed (really) stupid typo

parent ffdb280a
......@@ -46,7 +46,7 @@ const char* Foam::Switch::names[Foam::Switch::INVALID+1] =
Foam::Switch::switchType Foam::Switch::asEnum(const bool val)
{
return val ? Switch::FALSE : Switch::TRUE;
return val ? Switch::TRUE : Switch::FALSE;
}
......
Supports Markdown
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