Skip to content

Commit

Permalink
Typos in the doc (#390)
Browse files Browse the repository at this point in the history
* typo in terms.py

* another typo
  • Loading branch information
ordabayevy authored Nov 3, 2020
1 parent 94d4251 commit ec22df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions funsor/terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ class FunsorMeta(type):
allows the instance to be reflectively reconstructed under a different
interpretation, and is used by :func:`funsor.interpreter.reinterpret`.
3. Cons-hash construction, so that repeatedly calling the constructor
with identical args will product the same object. This enables cheap
with identical args will produce the same object. This enables cheap
syntactic equality testing using the ``is`` operator, which is
is important both for hashing (e.g. for memoizing funsor functions)
important both for hashing (e.g. for memoizing funsor functions)
and for unit testing, since ``.__eq__()`` is overloaded with
elementwise semantics. Cons hashing differs from memoization in that
it incurs no memory overhead beyond the cons hash dict.
Expand Down

0 comments on commit ec22df5

Please sign in to comment.