Commits

Jian Zhou  committed 90813c9

Weighted context: fixed genome.cpp compile issue

  • Participants
  • Parent commits 41d3bdc

Comments (0)

Files changed (1)

File src/genome.cpp

 			pGene = &m_Genome.AddGene( vecstrTokens[0] );
 		else {
 			if( ( iGene = m_Genome.FindGene( vecstrTokens[0] ) ) == -1 ) {
-				g_CatSleipnir( ).warn( "CGenes::Open( %d ) unknown gene: %s", fCreate, vecstrTokens[0] );
+				g_CatSleipnir( ).warn( "CGenes::Open( %d ) unknown gene: %s", fCreate, vecstrTokens[0].c_str() );
 				continue; }
 			pGene = &m_Genome.GetGene( iGene ); }
 		pGene->SetWeight(atof(vecstrTokens[1].c_str()));