ECJ-INTEREST-L Archives

June 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
From:
Eric 'Siggy' Scott <[log in to unmask]>
Date:
Fri, 6 Jun 2014 00:18:56 -0400
Content-Type:
multipart/alternative; boundary=089e013a1d86f877bc04fb23286c
MIME-Version:
1.0
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (607 bytes) , text/html (949 bytes)
Using the latest SVN revision:

When using the "stat.child.0" syntax to add Statistics instances to
steady-state evolution, the method
SteadyStateEvolutionState.checkStatistics(), which is called from setup(),
assumes that the "base" Parameter passed in will have the
value P_STATISTICS.

In fact, the base Parameter used by SteadyStateEvolutionState.setup() is
null, so we get a NPE during initialization.

A simple fix is to replace "base" with "new Parameter(P_STATISTICS)" in the
call to checkStatistics on line 101.

Cheers,
Siggy

-- 

Ph.D student in Computer Science
George Mason University
http://mason.gmu.edu/~escott8/


ATOM RSS1 RSS2