Commit 95269b9e authored by Sean Leavey's avatar Sean Leavey
Browse files

Merge branch 'develop' of git.ligo.org:finesse/finesse3 into develop

parents 324c206a 22b323e1
Pipeline #235053 passed with stages
in 22 minutes and 54 seconds
......@@ -82,6 +82,7 @@ versions are described in the :ref:`History <history>` section.
developer of the BrumSoftTest validation tool, which was developed for |Finesse| validation.
* **Mischa Sallé**, Nikhef
* **Jan Just Keijser**, Nikhef
* **Duncan Macleod**, Nikhef, Conda packaging, Windows fixes
* **Alexei Ciobanu**, ...
* **Lee McCuller**, ...
* ...
......
......@@ -18,14 +18,6 @@ MAKE_LOP = lambda name, opfn: lambda self, other: Operation(name, opfn, self, ot
MAKE_ROP = lambda name, opfn: lambda self, other: Operation(name, opfn, other, self)
# Constants.
# NOTE: The keys here are used by the parser to recognise constants in kat script.
CONSTANTS = {
"pi": Constant(constants.PI, name="π"),
"c0": Constant(constants.C_LIGHT, name="c"),
}
# Supported operators.
OPERATORS = {
"__add__": MAKE_LOP("+", operator.add),
......@@ -440,6 +432,14 @@ class Constant(Symbol):
return self.__value
# Constants.
# NOTE: The keys here are used by the parser to recognise constants in kat script.
CONSTANTS = {
"pi": Constant(constants.PI, name="π"),
"c0": Constant(constants.C_LIGHT, name="c"),
}
class Resolving(Symbol):
"""A special symbol that represents a symbol that is not yet resolved.
......
Markdown is supported
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