From: Subhasis R. <ray...@gm...> - 2014-07-02 18:25:49
|
Dear Saeed, You mean simulation timestep (dt) rather than simulation time. The warning is harmless. The SpikeRingBuffer is a ring-buffer for temporarily storing spikes and the size of the buffer is is SynChan.bufferTime/dt. So if you make dt small without reducing bufferTime, it avoids increasing the number of entries beyond the predefined maximum. That aside, the HSolve class has not yet been fully ported to async13 branch and I encourage you to modify the testHSolve script to test this. Best, Subhasis On 7/2/14, Saeed Shariati <sd....@gm...> wrote: > Dear all, > > In the Demo/snippents/testHSolve.py file, when the simulation time > increases (for example 0.1 instead of 0.01), application exits with the > below error: > > *Warning: SpikeRingBuffer: bin number exceeds limit: spikeTime = 0.047002, > currtime= 0, dt = 0.0001, bin = 470 >= 128, terminating* > *python: SpikeRingBuffer.cpp:63: void SpikeRingBuffer::addSpike(double, > double): Assertion `0' failed.* > > I've compiled with BUILD=debug. > Any clue would be appreciated. > > Thank you, > Saeed > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > moose-devel mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moose-devel > -- Best, - Subhasis ( ʃʊbʱaːʃɪʃ ) |