Skip to content

fix() method for FreeAmplitude's #136

@pdigiglio

Description

@pdigiglio

I think we should implement a FreeAmplitude::fix() method so that

free_amplitude(*D, to(rho))->variableStatus() = VariableStatus::fixed;
*free_amplitude(*D, to(rho)) = std::complex<double>(1., 0.);

can be replaced by

free_amplitude(*D, to(rho))->fix(std::complex<double>(1., 0.));

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