Skip to content

Commit

Permalink
🐛 Fix creation of Location
Browse files Browse the repository at this point in the history
  • Loading branch information
ystade committed Feb 12, 2025
1 parent 192f9d8 commit ebe8ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mqt-core/na/NAComputation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class NAComputation final : protected std::vector<std::unique_ptr<Op>> {
}
template <typename... Args>
auto emplaceInitialLocation(const Atom* atom, Args&&... loc) -> void {
initialLocations.emplace(atom, Location(std::forward<Args>(loc)...));
initialLocations.emplace(atom, Location{std::forward<Args>(loc)...});
}
template <class T> auto emplaceBack(T&& op) -> const Op* {
return std::vector<std::unique_ptr<Op>>::emplace_back(
Expand Down

0 comments on commit ebe8ff1

Please sign in to comment.