(int) added

This commit is contained in:
Aik-Siong Koh
2023-12-03 20:30:53 -07:00
parent 87ed8700e2
commit c29df1719e
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ void MbD::ASMTSimulationParameters::parseASMT(std::vector<std::string>& lines)
{
//tstart, tend, hmin, hmax, hout, errorTol;
int pos = lines[0].find_first_not_of("\t");
int pos = (int)lines[0].find_first_not_of("\t");
auto leadingTabs = lines[0].substr(0, pos);
assert(lines[0] == (leadingTabs + "tstart"));
lines.erase(lines.begin());