Skip to content

Commit 81179f8

Browse files
clackaryjfilling
authored andcommitted
1 parent cdafec7 commit 81179f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Benchmarks/BuildingSimulation/TensorFlow/TensorFlowSimulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def simulate(simParams):
193193
startingTemp = simParams[SimParamsIndices.istartingTemp][0]
194194
slab = slab * tf.constant([0.0, 1, 1, 1, 1]) + startingTemp * tf.constant([1.0, 0, 0, 0, 0])
195195

196-
for i in range(0, timesteps):
196+
for i in tf.range(timesteps):
197197
tankAndQuanta = updateSourceTank(tank, quanta)
198198
tank = tankAndQuanta[0]
199199
quanta = tankAndQuanta[1]

0 commit comments

Comments
 (0)