summaryrefslogtreecommitdiff
path: root/diffeq.py
diff options
context:
space:
mode:
authorJoe Anderson <jandew+dev@gmail.com>2011-11-13 15:14:14 -0600
committerJoe Anderson <jandew+dev@gmail.com>2011-11-13 15:14:14 -0600
commit7d0053e28a99ec4ab0575ad1d1bc45d9944a7488 (patch)
tree5e3e72a2af03aeafb7f7967f28a54a899339001d /diffeq.py
parent0b83a5931534efeee7bf0f763a240e566d9cdfe2 (diff)
downloadtoss-7d0053e28a99ec4ab0575ad1d1bc45d9944a7488.tar.gz
toss-7d0053e28a99ec4ab0575ad1d1bc45d9944a7488.zip
finished Toss.diff_eq, ready to work on DiffEq.optimize
Diffstat (limited to 'diffeq.py')
-rw-r--r--diffeq.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/diffeq.py b/diffeq.py
index 3c8769c..c9447ac 100644
--- a/diffeq.py
+++ b/diffeq.py
@@ -66,7 +66,7 @@ class DiffEq(object):
allows self.foo to return:
self._foo if self.foo DNE
self.foo() if self.foo is a method
- (be very wary of storing variables under these conditions!)
+ see DiffEq's documentation for examples
"""
sgetattr = super(DiffEq, self).__getattribute__
try:
@@ -83,7 +83,7 @@ class DiffEq(object):
_flags = []
def __setattribute__(self, attr):
- """Clears dunder updates when phi or phi1 are changed."""
+ """Clears dunder updates when a flag variable is changed."""
sgetattr = super(DiffEq, self).__getattribute__
ssetattr = super(DiffEq, self).__setattribute__
if attr in self.flags: