Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lebedov committed Nov 11, 2015
2 parents f724f95 + 104e9a0 commit e3a3f05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions neurokernel/LPU/LPU.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from pycuda.compiler import SourceModule
import pycuda.elementwise as elementwise


import numpy as np
import networkx as nx

Expand All @@ -27,7 +26,6 @@

from neurokernel.mixins import LoggerMixin
from neurokernel.core_gpu import Module, CTRL_TAG, GPOT_TAG, SPIKE_TAG
from neurokernel.tools.zmq import get_random_port

from types import *
from collections import Counter
Expand Down
2 changes: 1 addition & 1 deletion neurokernel/pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ def __setitem__(self, key, value):
# data attribute:
self.__validate_index__(new_data.index)
self.data = new_data
self.data.sort(inplace=True)
self.data.sort_index(inplace=True)

# Update the `io` attributes of the pattern's interfaces:
self.interface[key[0], 'io'] = 'in'
Expand Down

0 comments on commit e3a3f05

Please sign in to comment.