Skip to content

Commit

Permalink
Change asVector code block to NotImpError
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoonbae authored and speth committed Jun 15, 2023
1 parent 900fc14 commit ded75f4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/kinetics/InterfaceRate.cpp
Expand Up @@ -190,12 +190,8 @@ void InterfaceRateBase::getCoverageDependencies(AnyMap& dependencies,
if (m_lindep[k]) {
dep[2] = m_ec[k][1];
} else {
vector<AnyValue> dep(3);
vector_fp E_temp(4);
for (size_t i = 0; i < m_ec[k].size() - 1; i++) {
E_temp[i] = m_ec[k][i+1];
}
dep[2] = E_temp;
throw NotImplementedError("InterfaceRateBase::getCoverageDependencies",
"Polynomial dependency not implemented for asVector.");
}
dep[0] = m_ac[k];
dep[1] = m_mc[k];
Expand Down

0 comments on commit ded75f4

Please sign in to comment.