From dc28873bce12bcec1fb4657d61f18300cb829b23 Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Fri, 26 Apr 2024 15:44:19 -0400 Subject: [PATCH] Import LinearAlgebra in the appropriate context --- B2R_comparison.jl | 2 +- EC_test.ipynb | 8 ++++---- p_space.jl | 1 + p_space_test.ipynb | 2 +- simple_berggren.ipynb | 8 ++++---- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/B2R_comparison.jl b/B2R_comparison.jl index 1447510..b73ae30 100644 --- a/B2R_comparison.jl +++ b/B2R_comparison.jl @@ -1,4 +1,4 @@ -using Plots, LinearAlgebra +using Plots include("p_space.jl") berggren_mesh = get_mesh([0, 0.4 - 0.15im, 0.8, 6], [128, 128, 128]) diff --git a/EC_test.ipynb b/EC_test.ipynb index 105ae00..38087bd 100644 --- a/EC_test.ipynb +++ b/EC_test.ipynb @@ -6,7 +6,7 @@ "metadata": {}, "outputs": [], "source": [ - "using Plots, LinearAlgebra\n", + "using Plots\n", "include(\"p_space.jl\")" ] }, @@ -84,15 +84,15 @@ ], "metadata": { "kernelspec": { - "display_name": "Julia 1.9.0", + "display_name": "Julia 1.10.2", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.10" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.0" + "version": "1.10.2" } }, "nbformat": 4, diff --git a/p_space.jl b/p_space.jl index 1ad9704..e63c854 100644 --- a/p_space.jl +++ b/p_space.jl @@ -1,3 +1,4 @@ +using LinearAlgebra using FastGaussQuadrature # Gaussian potentials in momentum space diff --git a/p_space_test.ipynb b/p_space_test.ipynb index 636c06e..fa5f269 100644 --- a/p_space_test.ipynb +++ b/p_space_test.ipynb @@ -6,7 +6,7 @@ "metadata": {}, "outputs": [], "source": [ - "using Plots, LinearAlgebra\n", + "using Plots\n", "include(\"p_space.jl\")" ] }, diff --git a/simple_berggren.ipynb b/simple_berggren.ipynb index 576b36f..cb2053f 100644 --- a/simple_berggren.ipynb +++ b/simple_berggren.ipynb @@ -6,7 +6,7 @@ "metadata": {}, "outputs": [], "source": [ - "using Plots, LinearAlgebra\n", + "using Plots\n", "include(\"p_space.jl\")" ] }, @@ -53,15 +53,15 @@ ], "metadata": { "kernelspec": { - "display_name": "Julia 1.9.0", + "display_name": "Julia 1.10.2", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.10" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.0" + "version": "1.10.2" } }, "nbformat": 4,