Skip to content

Commit 7819287

Browse files
committed
Address compilation failures.
1 parent 73ab7df commit 7819287

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,8 @@ cc_library(
798798
deps = [
799799
":gate",
800800
":gate_appl",
801+
":gates_cirq",
802+
":gates_qsim",
801803
],
802804
)
803805

lib/operation_base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ inline unsigned OpTime(const Operation& op) {
197197

198198
return std::visit(f, op);
199199
} else {
200-
static_assert(0, "OpBaseOperation encountered an invalid type");
200+
static_assert(0, "OpQubits encountered an invalid type");
201201
}
202202
}
203203

@@ -232,7 +232,7 @@ inline const Qubits& OpQubits(const Operation& op) {
232232

233233
return std::visit(f, op);
234234
} else {
235-
static_assert(0, "OpBaseOperation encountered an invalid type");
235+
static_assert(0, "OpQubits encountered an invalid type");
236236
}
237237
}
238238

0 commit comments

Comments
 (0)