Skip to content

Commit

Permalink
Merge pull request #6 from BertrandDecoster/patch-2
Browse files Browse the repository at this point in the history
Bug in PythonInterface.cpp
  • Loading branch information
EricZinda authored Sep 10, 2024
2 parents 7173452 + dd7237b commit 5414991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Python/PythonInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ extern "C" //Tells the compile to use C-linkage for the next scope.
string programString = string(data);
if (!ptr->m_prologCompiler->Compile(programString))
{
return GetCharPtrFromString(ptr->m_compiler->GetErrorString());
return GetCharPtrFromString(ptr->m_prologCompiler->GetErrorString());
}
else
{
Expand Down

0 comments on commit 5414991

Please sign in to comment.