<commit_before>#include "spcode.h"
#include<cstring>
spcode::spcode()
{
    m_step_type= NULL;
    m_driver = NULL;
};
int spcode::RunFunction (double t, const double* y, double* dydt, void *params)
{
    if(!params) return -1;
    int _status = GSL_SUCCESS;
    spcode* theode = (spcode*)params;
     list<__MODEL>::const_iterator  _citera= theode->m_run_model.end();
    list<__MODEL>::iterator _iter = theode->m_run_model.begin();
    while (_citera!=_iter && !_status) {
        _status = _iter->m_func(_iter->m_pparam,t,_iter->m_pin,_iter->m_pout,y,dydt);
        ++_iter;
    }
    return _status;
}

int spcode::Evajacobian (double t, const double* y, double* dfdy, double* dfdt,
                 void *params)
{
    return GSL_SUCCESS;
}

int spcode::AddModel(__MODEL _themodel)
{
    m_modelall.push_back(_themodel);
    return m_modelall.size();<commit_msg> 请为您的变更输入提交说明。以 '#' 开始的行将被忽略，而一个空的提交  说明将会终止提交。  位于分支 master  要提交的变更： 	修改:         spcode.cpp<commit_after>#include "spcode.h"
#include<cstring>
spcode::spcode()
{
    //change data
    m_step_type= NULL;
    m_driver = NULL;
};
int spcode::RunFunction (double t, const double* y, double* dydt, void *params)
{
    if(!params) return -1;
    int _status = GSL_SUCCESS;
    spcode* theode = (spcode*)params;
     list<__MODEL>::const_iterator  _citera= theode->m_run_model.end();
    list<__MODEL>::iterator _iter = theode->m_run_model.begin();
    while (_citera!=_iter && !_status) {
        _status = _iter->m_func(_iter->m_pparam,t,_iter->m_pin,_iter->m_pout,y,dydt);
        ++_iter;
    }
    return _status;
}

int spcode::Evajacobian (double t, const double* y, double* dfdy, double* dfdt,
                 void *params)
{
    return GSL_SUCCESS;
}

int spcode::AddModel(__MODEL _themodel)
{
    m_modelall.push_back(_themodel);
    return m_modelall.size();
{'fraction_non_alphanumeric': 0.1435589519650655, 'fraction_numerical': 0.001091703056768559, 'mean_word_length': 3.7364341085271318, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '700884', 'n_tokens_mistral': 730, 'n_tokens_neox': 730, 'n_words': 135}