You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
When constructing a GeneralLattice, input dismatched dimension of lattice vector and starting point gives unexpect StackOverflow error.
To Reproduce
A code snippet to reproduce the behavior
julia>GeneralLattice([(1.0,0.0,0.0),(0.0,1.0,0.0),(0.0,0.0,1.0)],[(0.0,0.0)])
ERROR: StackOverflowError:
Stacktrace:
[1] GeneralLattice(vectors::Tuple{Tuple{…}, Tuple{…}, Tuple{…}}, sites::Tuple{Tuple{…}}) (repeats 79984 times)
@ BloqadeLattices ~/.julia/packages/BloqadeLattices/uiRYp/src/lattice.jl:54
Some type information was truncated. Use `show(err)` to see complete types.
Expected behavior
A clear and concise description of what you expected to happen.
Check the dimension overhead and throw a dimension not match error
Screenshots
If applicable, add screenshots to help explain your problem.
Version Info
Julia version 1.10.4
Package Version (use Pkg.status() to see the version of your current environment)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
When constructing a
GeneralLattice
, input dismatched dimension oflattice vector
andstarting point
gives unexpectStackOverflow
error.To Reproduce
A code snippet to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen.
Check the dimension overhead and throw a
dimension not match error
Screenshots
If applicable, add screenshots to help explain your problem.
Version Info
Pkg.status()
to see the version of your current environment)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: