Skip to content

Commit a2b509d

Browse files
tiny fix in c++ test file
1 parent 0e48503 commit a2b509d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/SModelS.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void SModelS::loadDatabase ( const string & parameterfile )
6262
PyRun_SimpleString( "parser = modelTester.getParameters( parameterFile )" );
6363
PyRun_SimpleString( "database = modelTester.loadDatabase(parser, None )" );
6464
PyRun_SimpleString( "modelTester.loadDatabaseResults(parser, database)" );
65-
PyRun_SimpleString( "print ( '[smodels.cpp] %d experimental results found.' % len(listOfExpRes) ) " );
65+
PyRun_SimpleString( "print ( '[smodels.cpp] %d experimental results found.' % len(database.getExpResults() ) ) " );
6666
}
6767

6868
int SModelS::run ( const string & inFile )

0 commit comments

Comments
 (0)