Skip to content

Commit

Permalink
fix dict bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
WellyZhang committed Nov 14, 2016
1 parent 7fcfe24 commit d68de79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def get_output_symbol(self):

def get_loss_symbols(self):

return {obs=self.obs,
act=self.act,
weight=self.weight}
return {"obs": self.obs,
"act": self.act,
"weight": self.weight}

def define_loss(self, loss_exp):

Expand Down
6 changes: 3 additions & 3 deletions qfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def get_output_simbol(self):

def get_loss_simbols(self):

return {qval=self.qval,
yval=self.yval,
weight=self.weight}
return {"qval": self.qval,
"yval": self.yval,
"weight": self.weight}

def define_loss(self, loss_exp):

Expand Down

0 comments on commit d68de79

Please sign in to comment.