rpgoldman / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 0 forks source link

Assert fails with new resource speedups #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce:
1. Unpack the attached CrewPlanning example
2. Run make
3. After a while (around 1000 steps), the following assert should fire:
 {{{ Resource/base/Transaction.cc:26: Error: m_time.isValid() is false }}}

I tracked it down, and the problem was introduced when Mike merged Paul's
performance improvements:
       http://code.google.com/p/europa-pso/source/detail?r=5814#

I have a hunch this may be the same problem we had a LONG 
discussion about a while ago, which is described in this ticket:
    http://code.google.com/p/europa-pso/issues/detail?id=16

The difference is that the toString() method now seems to be called even 
if we're not outputting any debug statements and the above ticket was 
something occurring ONLY if debug output was turned on.

Original issue reported on code.google.com by tristanb...@gmail.com on 15 Oct 2009 at 4:22

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r5883

Original comment by miata...@gmail.com on 28 Oct 2009 at 6:34

GoogleCodeExporter commented 9 years ago
I'm verifying this, since there is now a new ticket open instead.

Original comment by tristanb...@gmail.com on 29 Oct 2009 at 9:43