diff options
Diffstat (limited to 'Tools/MathematicaMisc/MapLookup.m')
-rw-r--r-- | Tools/MathematicaMisc/MapLookup.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/MathematicaMisc/MapLookup.m b/Tools/MathematicaMisc/MapLookup.m index b125996..f42a1c7 100644 --- a/Tools/MathematicaMisc/MapLookup.m +++ b/Tools/MathematicaMisc/MapLookup.m @@ -32,7 +32,7 @@ DefFn[ lookup[map_List, key_Symbol, default_] := lookupDefault[map, key, default]]; -DefFn[lookup[map_List, key_Symbol] := +DefFn[lookup[map_List, key:(_Symbol|_String)] := Module[{values}, VerifyMap[map]; |