Commit 12a7248f authored by cmaffeo2's avatar cmaffeo2
Browse files

Removed assertion that numSteps must be of type 'int'

parent c16fbbed
......@@ -1438,7 +1438,7 @@ if {$nLast == 0} {
for gpu in gpus:
assert(type(gpu) is int)
assert(type(numSteps) is int)
# assert(type(numSteps) is int)
assert(type(numprocs) is int)
if outputDirectory == '': outputDirectory='.'
......
......@@ -287,7 +287,7 @@ class beadModel():
def simulate(self, outputPrefix, outputDirectory='output', numSteps=100000000, timestep=100e-6, gpu=0, arbd=None):
assert(type(gpu) is int)
assert(type(numSteps) is int)
# assert(type(numSteps) is int)
if outputDirectory == '': outputDirectory='.'
if arbd is None:
......
......@@ -356,7 +356,7 @@ class beadModelTwist():
assert(type(gpu) is int)
assert(type(numSteps) is int)
# assert(type(numSteps) is int)
if outputDirectory == '': outputDirectory='.'
if arbd is None:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment