c18a21c83f8027dd97864248c0591c95a9afa1a3,brian2/core/network.py,Network,run,#Network#Any#Any#Any#,201

Before Change


                if obj.clock is clock and obj.active:
                    obj.update()
            // tick the clock forward one time step
            clock.tick()
            // find the next clock to be updated. The < operator for Clock
            // determines that the first clock to be updated should be the one
            // with the smallest t value, unless there are several with the 

After Change


        // TODO: progress reporting stuff
        
        // Find the first clock to be updated (see note below)
        clock, curclocks = self._nextclocks()
        while clock.running and not self._stopped and not Network._globally_stopped:
            // update the network time to this clocks time
            self.t = clock.t
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: brian-team/brian2
Commit Name: c18a21c83f8027dd97864248c0591c95a9afa1a3
Time: 2012-10-02
Author: dan.goodman@ens.fr
File Name: brian2/core/network.py
Class Name: Network
Method Name: run


Project Name: BYU-PCCL/holodeck
Commit Name: b164bf9a87836f4f1fdc44e36d337a2c2f22da00
Time: 2019-05-14
Author: maxdrob1@gmail.com
File Name: example.py
Class Name:
Method Name: uav_example


Project Name: BYU-PCCL/holodeck
Commit Name: 4ff99af3aac6a7779e7fd1689d3ba995b94d5304
Time: 2020-03-06
Author: 24789592+iiridescent@users.noreply.github.com
File Name: example.py
Class Name:
Method Name: multi_agent_example


Project Name: BYU-PCCL/holodeck
Commit Name: c654fb044a9084fcd85606f18127c82dfd46182f
Time: 2019-02-11
Author: maxdrob1@gmail.com
File Name: example.py
Class Name:
Method Name: editor_example