Skip to content

Commit

Permalink
Merge branch 'custom-deserialisation-basepass' of https://github.com/…
Browse files Browse the repository at this point in the history
…CQCL/tket into custom-deserialisation-basepass
  • Loading branch information
sjdilkes committed Nov 7, 2024
2 parents 86ea73d + eff69af commit 2801845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tket/src/Predicates/CompilerPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ PassPtr deserialise(
pp = CustomPass(it->second, label);
} else {
throw JsonError(
"Cannot load CustomPass without passing constructor in "
"custom_deserialisation map.");
"Cannot deserialise CustomPass without passing a custom_deserialisation map "
"with a key corresponding to the pass's label.");
}
} else {
throw JsonError("Cannot load StandardPass of unknown type");
Expand Down

0 comments on commit 2801845

Please sign in to comment.