<commit_before>#include <utility>      // std::pair, std::make_pair
#include <map>
#include <vector>
#include <iostream>     // std::cout

#include <Python.h>
#include <boost/python.hpp>

namespace threeML {
  
  typedef std::vector<double> WrappableVector;
  
  class ModelInterface {
  
    public:
      
      ModelInterface(PyObject *pyModelUninterpreted);
      
      //Point source interface
      
      int getNumberOfPointSources();
      
      void getPointSourcePosition(int srcid, double *j2000_ra, double *j2000_dec);
      
      //Fluxes are differential fluxes in MeV^-1 cm^-1 s^-1
      std::vector<double> getPointSourceFluxes(int srcid, std::vector<double> energies);
      
      std::string getPointSourceName(int srcid);
      
      //Extended source interface
      
      int getNumberOfExtendedSources();
      
      std::vector<double> getExtendedSourceFluxes(int srcid, double j2000_ra, double j2000_dec, 
                                   std::vector<double> energies);
      
      std::string getExtendedSourceName(int srcid);
      
      bool isInsideAnyExtendedSource(double j2000_ra, double j2000_dec);
      
      void getExtendedSourceBoundaries(int srcid, double *j2000_ra_min,
                                                  double *j2000_ra_max,
                                                  double *j2000_dec_min,
                                                  double *j2000_dec_max) {}
      
    private:
      
      double m_nPtSources, m_nExtSources;
      
      typedef std::pair<double, double> skyPosition;
      
      std::map<int, skyPosition> m_ptsrcPos;
      
      boost::python::object m_pyModel;
      
  };

}<commit_msg>Corrected a wrong namespace specification<commit_after>#include <utility>      // std::pair, std::make_pair
#include <map>
#include <vector>
#include <iostream>     // std::cout

#include <Python.h>
#include <boost/python.hpp>

namespace threeML {
  
  typedef std::vector<double> WrappableVector;
  
  class ModelInterface {
  
    public:
      
      ModelInterface(PyObject *pyModelUninterpreted);
      
      //Point source interface
      
      int getNumberOfPointSources();
      
      void getPointSourcePosition(int srcid, double *j2000_ra, double *j2000_dec);
      
      //Fluxes are differential fluxes in MeV^-1 cm^-1 s^-1
      std::vector<double> getPointSourceFluxes(int srcid, std::vector<double> energies);
      
      std::string getPointSourceName(int srcid);
      
      //Extended source interface
      
      int getNumberOfExtendedSources();
      
      std::vector<double> getExtendedSourceFluxes(int srcid, double j2000_ra, double j2000_dec, 
                                   std::vector<double> energies);
      
      std::string getExtendedSourceName(int srcid);
      
      bool isInsideAnyExtendedSource(double j2000_ra, double j2000_dec);
      
      void getExtendedSourceBoundaries(int srcid, double *j2000_ra_min,
                                                  double *j2000_ra_max,
                                                  double *j2000_dec_min,
                                                  double *j2000_dec_max) {}
    
    protected:
      //Default constructor is here, so that only derived class
      //can use it
      ModelInterface() {}
    
    private:
      
      double m_nPtSources, m_nExtSources;
      
      typedef std::pair<double, double> skyPosition;
      
      std::map<int, skyPosition> m_ptsrcPos;
      
      boost::python::object m_pyModel;
      
  };

}
{'fraction_non_alphanumeric': 0.08570623061742318, 'fraction_numerical': 0.024245841556244714, 'mean_word_length': 1.9840201850294366, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '223101', 'n_tokens_mistral': 1057, 'n_tokens_neox': 973, 'n_words': 216}