Skip to content

Commit 6ad6fa5

Browse files
authored
Fix various typos (#1981)
1 parent bd3c0c6 commit 6ad6fa5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
We as members, contributors, and leaders pledge to make participation in our
66
community a harassment-free experience for everyone, regardless of age, body
77
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
8+
identity and expression, level of experience, education, socioeconomic status,
99
nationality, personal appearance, race, religion, or sexual identity
1010
and orientation.
1111

stable_baselines3/common/on_policy_algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def collect_rollouts(
208208
# Reshape in case of discrete action
209209
actions = actions.reshape(-1, 1)
210210

211-
# Handle timeout by bootstraping with value function
211+
# Handle timeout by bootstrapping with value function
212212
# see GitHub issue #633
213213
for idx, done in enumerate(dones):
214214
if (

stable_baselines3/her/her_replay_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def truncate_last_trajectory(self) -> None:
396396
"If you are in the same episode as when the replay buffer was saved,\n"
397397
"you should use `truncate_last_trajectory=False` to avoid that issue."
398398
)
399-
# only consider epsiodes that are not finished
399+
# only consider episodes that are not finished
400400
for env_idx in np.where(self._current_ep_start != self.pos)[0]:
401401
# set done = True for last episodes
402402
self.dones[self.pos - 1, env_idx] = True

0 commit comments

Comments
 (0)