Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting symbol names (beta) #8

Closed
shinaoka opened this issue May 11, 2022 · 2 comments
Closed

Conflicting symbol names (beta) #8

shinaoka opened this issue May 11, 2022 · 2 comments

Comments

@shinaoka
Copy link
Member

shinaoka commented May 11, 2022

@sakurairihito

We (I and R. Sakurai) found this bit annoying:

using SparseIR
lambda_ = 100.0
beta = 10.0
wmax = lambda_/beta
basis = FiniteTempBasis(fermion, beta, wmax, 1e-7)
println(beta(basis))

Many Julia users seem to prefer to using using.
We should rename the accessor something like getbeta?
The same applies to wmax...

@shinaoka shinaoka changed the title Naming issue about beta Conflicting symbol names (beta) May 11, 2022
@SamuelBadr
Copy link
Collaborator

I agree! I'll fix this later today.

@SamuelBadr
Copy link
Collaborator

Sorry I forgot to push. 13dcc2a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants