Skip to content

Commit

Permalink
Fix typo in the document (LCAV#189)
Browse files Browse the repository at this point in the history
The Room.unset_air_absorption function's document had a typo (or hasn't changed from a copy).
Adds fix in the changelog.
  • Loading branch information
SatokiOgiso authored Sep 29, 2020
1 parent e1860c8 commit 5d25cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_.
`Unreleased`_
-------------

Nothing yet.
Bugfix
~~~~~~

- Fixes typo in a docstring

`0.4.2`_ - 2020-09-24
---------------------
Expand Down
2 changes: 1 addition & 1 deletion pyroomacoustics/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ def set_air_absorption(self, coefficients=None):
self.air_absorption = self.physics().get_air_absorption()

def unset_air_absorption(self):
""" Deactivates the ray tracer """
""" Deactivates air absorption in the simulation """
self.simulator_state["air_abs_needed"] = False

def set_sound_speed(self, c):
Expand Down

0 comments on commit 5d25cbe

Please sign in to comment.