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