Skip to content

Commit

Permalink
Fixed cache lookup on DynamicMap for zero-length Elements
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 12, 2016
1 parent b089896 commit b98dee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def __getitem__(self, key):
return product

# Not a cross product and nothing cached so compute element.
if cache: return cache
if cache is not None: return cache
val = self._execute_callback(*tuple_key)
if self.call_mode == 'counter':
val = val[1]
Expand Down

0 comments on commit b98dee6

Please sign in to comment.