Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Feb 12, 2024
1 parent e4fa8b4 commit 2551773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/TensorFlowAOT/interface/Model.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ namespace tfaot {
std::tuple<Outputs...> Model<W>::run(size_t batchSize, Inputs&&... inputs) {
// check number of inputs
size_t nInputs = sizeof...(Inputs);
if (nInputs != wrapper_->nResults()) {
if (nInputs != wrapper_->nArgs()) {
throw cms::Exception("InputMismatch")
<< "model '" << name() << "' received " << nInputs << " inputs, but " << wrapper_->nArgs() << " are expected";
}
Expand Down

0 comments on commit 2551773

Please sign in to comment.