PsiQ / bartiq

Bartiq
https://psiq.github.io/bartiq/
Apache License 2.0
28 stars 9 forks source link

Local variables not passed to resulting routine in _routine_v1_to_bartiq_routine function #81

Closed sitong1011 closed 2 months ago

sitong1011 commented 2 months ago

Describe the bug

The function _routine_v1_to_bartiq_routine(routine_v1) -> Routine: does not pass local variables to the resulting routine, which causes compilation errors when local variables are required for resource calculations.

How to Reproduce

Expected behavior

The local variables should be correctly passed to the resulting routine, allowing for accurate resource calculations and successful compilation.

Actual behavior

The local variables are not passed to the resulting routine, resulting in compilation errors due to unknown variables.