Skip to content

Commit

Permalink
test better use of LinearAlgebra
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jan 19, 2025
1 parent 8065850 commit 413d461
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/PowerNetworkMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,25 @@ export VirtualPTDF
export Ybus

using DocStringExtensions
import MKL
import InfrastructureSystems
import PowerSystems
import PowerSystems: ACBusTypes

const IS = InfrastructureSystems
const PSY = PowerSystems

@static if Sys.ARCH === :x86_64 || Sys.ARCH === :i686
import MKL
const usemkl = MKL.MKL_jll.is_available()
else
const usemkl = false
end

@static if !Sys.isapple()
import AppleAccelerate
end


import SparseArrays
import SparseArrays: rowvals, nzrange
import HDF5
Expand All @@ -41,6 +52,7 @@ import LinearAlgebra: ldiv!, mul!, I, dot
import LinearAlgebra: LAPACK.getrf!, LAPACK.getrs!
import Pardiso


@template DEFAULT = """
$(SIGNATURES)
$(DOCSTRING)
Expand Down

0 comments on commit 413d461

Please sign in to comment.