This commit is contained in:
Jose Luis Blanco-Claraco 2017-04-21 04:32:23 +00:00 committed by GitHub
commit 9924a0fe93
1 changed files with 2 additions and 2 deletions

View File

@ -5467,7 +5467,7 @@ namespace exprtk
: value_(v)
{
rp_.n0_c = std::make_pair<bool,std::size_t>(true,0);
rp_.n1_c = std::make_pair<bool,std::size_t>(true,v.size() - 1);
rp_.n1_c = std::make_pair(true, size_t(v.size() - 1));
rp_.cache.first = rp_.n0_c.second;
rp_.cache.second = rp_.n1_c.second;
}
@ -7381,7 +7381,7 @@ namespace exprtk
: value_(&v)
{
rp_.n0_c = std::make_pair<bool,std::size_t>(true,0);
rp_.n1_c = std::make_pair<bool,std::size_t>(true,v.size() - 1);
rp_.n1_c = std::make_pair(true, size_t(v.size() - 1));
rp_.cache.first = rp_.n0_c.second;
rp_.cache.second = rp_.n1_c.second;
}