File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1133,7 +1133,9 @@ ASTGateNode::ASTGateNode(const ASTIdentifierNode *Id,
1133
1133
1134
1134
if (C != Params.size ()) {
1135
1135
std::stringstream M;
1136
- M << " Inconsistent number of parameters in the gate call for the corresponding gate definition" << C;
1136
+ M << " Inconsistent number of parameters in the gate call for the "
1137
+ " corresponding gate definition"
1138
+ << C;
1137
1139
QasmDiagnosticEmitter::Instance ().EmitDiagnostic (
1138
1140
DIAGLineCounter::Instance ().GetLocation (), M.str (), DiagLevel::Error);
1139
1141
return ;
@@ -1371,7 +1373,9 @@ ASTGateNode::ASTGateNode(const ASTIdentifierNode *Id,
1371
1373
1372
1374
if (C != Params.size ()) {
1373
1375
std::stringstream M;
1374
- M << " Inconsistent number of parameters in the gate call for the corresponding gate definition" << C;
1376
+ M << " Inconsistent number of parameters in the gate call for the "
1377
+ " corresponding gate definition"
1378
+ << C;
1375
1379
QasmDiagnosticEmitter::Instance ().EmitDiagnostic (
1376
1380
DIAGLineCounter::Instance ().GetLocation (), M.str (), DiagLevel::Error);
1377
1381
return ;
You can’t perform that action at this time.
0 commit comments