Skip to content

Mark AbstractHamiltonian::FindConn as const

Vicentini Filippo requested to merge github/fork/femtobit/small-changes into master

Created by: femtobit

AbstractHamiltonian::FindConn does not changes the internal state of the Hamiltonian (and judging from the documentation it is not meant to), so it should be marked as const.

(This pull request also contains a tiny unrelated change in a second commit. I could split this up if you want.)

Merge request reports