Skip to content

Commit

Permalink
Derp
Browse files Browse the repository at this point in the history
  • Loading branch information
termi-official committed Dec 28, 2023
1 parent d227ef7 commit 27d1980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dofs/ConstraintHandler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ end

# Optimized version for SparseMatrixCSC
add_inhomogeneities!(K::SparseMatrixCSC, f::AbstractVector, inhomogeneities::AbstractVector, prescribed_dofs::AbstractVector{<:Integer}, dofmapping) = add_inhomogeneities_csc!(K, f, inhomogeneities, prescribed_dofs, dofmapping, false)
add_inhomogeneities!(K::Symmetric{<:Any,<:SparseMatrixCSC}, f::AbstractVector, inhomogeneities::AbstractVector, prescribed_dofs::AbstractVector{<:Integer}, dofmapping) = add_inhomogeneities_csc!(K, f, inhomogeneities, prescribed_dofs, dofmapping, true)
add_inhomogeneities!(K::Symmetric{<:Any,<:SparseMatrixCSC}, f::AbstractVector, inhomogeneities::AbstractVector, prescribed_dofs::AbstractVector{<:Integer}, dofmapping) = add_inhomogeneities_csc!(K.data, f, inhomogeneities, prescribed_dofs, dofmapping, true)
function add_inhomogeneities_csc!(K::SparseMatrixCSC, f::AbstractVector, inhomogeneities::AbstractVector, prescribed_dofs::AbstractVector{<:Integer}, dofmapping, sym::Bool)
@inbounds for i in 1:length(inhomogeneities)
d = prescribed_dofs[i]
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ include("test_apply_rhs.jl")
include("test_apply_analytical.jl")
include("test_deprecations.jl")
HAS_EXTENSIONS && include("blockarrays.jl")
HAS_EXTENSIONS && include("text_assembler_extensions.jl")
HAS_EXTENSIONS && include("test_assembler_extensions.jl")
include("test_examples.jl")
@test all(x -> isdefined(Ferrite, x), names(Ferrite)) # Test that all exported symbols are defined

Expand Down

0 comments on commit 27d1980

Please sign in to comment.