Skip to content
Permalink
Browse files

Remove commented-out expressions_constant in core (#436)

Fixes: #142
  • Loading branch information...
alubbock committed Apr 25, 2019
1 parent 54f5d2f commit 4c51327b7a7b70c776c840f22dda4be92f1ec96c
Showing with 0 additions and 7 deletions.
  1. +0 −7 pysb/core.py
@@ -1694,13 +1694,6 @@ def parameters_unused(self):
cset_used = (self.parameters_rules() | self.parameters_initial_conditions() |
self.parameters_compartments() | self.parameters_expressions())
return self.parameters - cset_used

# def expressions_constant(self):
# """Return a ComponentSet of constant expressions."""
# cset = ComponentSet(e for e in self.expressions
# if all(isinstance(a, (Parameter, sympy.Number))
# for a in e.expand_expr().atoms()))
# return cset

def expressions_constant(self):
"""Return a ComponentSet of constant expressions."""

0 comments on commit 4c51327

Please sign in to comment.
You can’t perform that action at this time.