Skip to content

Type stability with  #8

@ericphanson

Description

@ericphanson

I think the definition of in

= tensor

should be declared const, e.g.

const  = tensor

See for example the answers here: https://stackoverflow.com/q/48481547/12486544.

I came across this when writing this comment: JuliaLang/julia#35150 (comment), which could be of interest to QuantumOptics as well.

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