From d063dc9d16f0c20188dafc2d26c43b3ee3923a62 Mon Sep 17 00:00:00 2001 From: Max Piskunov Date: Sun, 11 Jul 2021 08:57:09 -0500 Subject: [PATCH] Fix declareSystemGenerator. --- Kernel/A1$generatorSystem.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/A1$generatorSystem.m b/Kernel/A1$generatorSystem.m index 92f04a4c..661760e1 100644 --- a/Kernel/A1$generatorSystem.m +++ b/Kernel/A1$generatorSystem.m @@ -92,7 +92,7 @@ parametersUsage = "* parameters$ is either a Sequence, a List or an Association of key-value rules. A list of " <> "parameters can be obtained with SetReplaceSystemParameters[system$]."; -declareSystemGenerator[publicSymbol_, packageScopeSymbol_, parameterValues_, property_ : Identity, usage_] := ( +declareSystemGenerator[publicSymbol_, packageScopeSymbol_, parameterValues_, property_, usage_] := ( $generatorPackageScopeSymbols[publicSymbol] = packageScopeSymbol; $generatorParameters[publicSymbol] = parameterValues; $generatorProperties[publicSymbol] = property; @@ -152,9 +152,9 @@ "; declareMessage[ - General::unknownSystemParameters, "Parameters `parameters` are implemented by `system` but is not declared."]; + General::unknownSystemParameters, "Parameters `parameters` are implemented by `system` but are not declared."]; declareMessage[ - General::unknownGeneratorParameters, "Parameters `parameters` are set by `generator` but is not declared."]; + General::unknownGeneratorParameters, "Parameters `parameters` are set by `generator` but are not declared."]; initializeSystemGenerators[] := ( $SetReplaceSystems = Sort @ Keys @ $systemImplementations;