Fixed LinearNet to pass correct parametersto GridNet.__init__()

This commit is contained in:
Bob Lantz
2009-12-15 17:31:36 -08:00
parent 657333199b
commit 2708cadd40
+1 -1
View File
@@ -632,7 +632,7 @@ class GridNet( Network ):
class LinearNet( GridNet ):
def __init__( self, switchCount, kernel=True ):
self.switchCount = switchCount
GridNet.__init__( self, switchCount, 1, kernel, linear=True )
GridNet.__init__( self, switchCount, 1, linear=True )
# Tests