Skip to content

Incorrect default optimization level #14036

@radams78

Description

@radams78

# Take optimization level from the configuration or 1 as default.
config = user_config.get_config()
optimization_level = config.get("transpile_optimization_level", 2)

It looks like the comment and the code have got out of sync here - the comment says the default optimization level is 1, but the code says it is 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions