Skip to content

Commit

Permalink
Release 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed May 4, 2018
1 parent f0196b5 commit 48b0938
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Release History
- Removed
- Fixed
0.6.2 (unreleased)
------------------
0.6.2 (May 4, 2018)
-------------------

**Added**

Expand Down
4 changes: 3 additions & 1 deletion nengo_dl/tests/test_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,9 @@ def pre_build(self, *_):
self.ph = tf.placeholder_with_default(False, ())

def __call__(self, t, x):
with tf.control_dependencies([tf.Assert(self.ph, [t])]):
with tf.device("/cpu:0"):
check = tf.Assert(self.ph, [t])
with tf.control_dependencies([check]):
y = tf.identity(x)
return y

Expand Down
4 changes: 2 additions & 2 deletions nengo_dl/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

name = "nengo-dl"
version_info = (0, 6, 2) # (major, minor, patch)
dev = True
dev = False

version = "{v}{dev}".format(v='.'.join(str(v) for v in version_info),
dev='.dev0' if dev else '')
Expand All @@ -18,7 +18,7 @@
from nengo.version import version_info as nengo_version

minimum_nengo_version = (2, 7, 0)
latest_nengo_version = (2, 7, 1)
latest_nengo_version = (2, 7, 0)
if nengo_version < minimum_nengo_version: # pragma: no cover
raise ValueError(
"`nengo_dl` does not support `nengo` version %s. Upgrade "
Expand Down

0 comments on commit 48b0938

Please sign in to comment.