Skip to content

Commit

Permalink
fix typo for versioninfo (qutip#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang authored and albertomercurio committed Sep 27, 2024
1 parent 70f5962 commit 8bf642c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ body:
attributes:
label: Your Environment
description: Please use `QuantumToolbox.about()` or `QuantumToolbox.versioninfo()` to get the information about your environment and paste it here (automatically formatted)
placeholder: "QuantumToolbox Ver. ***\nLinearSolve Ver. ***\nOrdinaryDiffEq Ver. ***\nJulia Version: ***\nOS : ***\nWORD_SIZE: ***\nLIBM : ***\nLLVM : ***\nBLAS : ***"
placeholder: "Julia Ver. ***\nQuantumToolbox Ver. ***\nLinearSolve Ver. ***\nOrdinaryDiffEqCore Ver. ***\nOS : ***\nWORD_SIZE: ***\nLIBM : ***\nLLVM : ***\nBLAS : ***"
render: shell
validations:
required: true
Expand Down
4 changes: 2 additions & 2 deletions src/QuantumToolbox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ import SciMLBase:
ContinuousCallback,
DiscreteCallback
import SciMLOperators: MatrixOperator
import LinearSolve: LinearSolve, LinearProblem, SciMLLinearSolveAlgorithm, KrylovJL_MINRES, KrylovJL_GMRES
import LinearSolve: LinearProblem, SciMLLinearSolveAlgorithm, KrylovJL_MINRES, KrylovJL_GMRES
import DiffEqBase: get_tstops
import DiffEqCallbacks: PeriodicCallback, PresetTimeCallback, TerminateSteadyState
import OrdinaryDiffEqCore: OrdinaryDiffEqCore, OrdinaryDiffEqAlgorithm
import OrdinaryDiffEqCore: OrdinaryDiffEqAlgorithm
import OrdinaryDiffEqTsit5: Tsit5

# other dependencies (in alphabetical order)
Expand Down
4 changes: 3 additions & 1 deletion src/versioninfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ function versioninfo(io::IO = stdout)
io,
"Package information:\n",
"====================================\n",
"Julia Ver. $(VERSION)\n",
"QuantumToolbox Ver. $(_get_pkg_version("QuantumToolbox"))\n",
"LinearSolve Ver. $(_get_pkg_version("LinearSolve"))\n",
"OrdinaryDiffEqCore Ver. $(_get_pkg_version("OrdinaryDiffEqCore"))\n",
)

# print System informations
println(io, "System information:\n", "====================================\n", "Julia Version: $(VERSION)")
println(io, "System information:")
println(io, "====================================")
println(io, """OS : $(OS_name) ($(Sys.MACHINE))""")
println(io, """CPU : $(length(cpu)) × $(cpu[1].model)""")
println(io, """Memory : $(round(Sys.total_memory() / 2 ^ 30, digits=3)) GB""")
Expand Down

0 comments on commit 8bf642c

Please sign in to comment.