fix invalid memory read in CEPInferenceMethod class
Merge pull request #1478 from votjakovr/feature/gp_refactoring

Fix invalid memory read in CEPInferenceMethod class