Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
b392cdf7
Commit
b392cdf7
authored
Jun 10, 2020
by
Mccaskey, Alex
Browse files
fixing xasm fail when int or double literal is passed to quantum kernel
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
e920d589
Pipeline
#106630
passed with stage
in 72 minutes and 34 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
quantum/plugins/xasm/xasm_listener.cpp
View file @
b392cdf7
...
...
@@ -652,8 +652,6 @@ void XASMListener::exitComposite_generator(
}
else
if
(
p
.
isNumeric
())
{
if
(
!
composite
->
getArguments
().
empty
())
{
std
::
cout
<<
"xasm debug: "
<<
composite
->
getArguments
().
size
()
<<
"
\n
"
;
// This is a literal. Create an argument and add it
auto
tmp_arg
=
composite
->
getArguments
()[
1
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment