Revert "Typo in function call _getNumCores corrected"

This reverts commit 878acb515802badd4add36e3fa472a893355c3e5.