#48 Arrays should not be passed by reference like objects

Closed
opened 2 years ago by belliash · 1 comments
belliash commented 2 years ago
Owner

AerScript Information

  • Aer Version (or commit ref): 246b097fad
  • Operating System: Linux
  • System Architecture (eg. arm, x86_64, ...): x86_64

Your problem description

PH7 pass and return arrays by reference. This behaviour should be changed and a copy of array should be made instead.

<!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please take a moment to check that your issue doesn't already exist. 3. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> # AerScript Information - Aer Version (or commit ref): 246b097fad - Operating System: Linux - System Architecture (eg. arm, x86_64, ...): x86_64 # Your problem description PH7 pass and return arrays by reference. This behaviour should be changed and a copy of array should be made instead.
belliash added the
enhancement
label 2 years ago
belliash added the
aerscript
label 2 years ago
belliash self-assigned this 2 years ago
belliash commented 2 years ago
Poster
Owner

Hashmap duplication partially fixed with e794ffd97b.

Hashmap duplication partially fixed with e794ffd97b.
belliash closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.