Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 2, 2024
1 parent 4b3a82d commit 02a1648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ReferenceFEs/MomentBasedReferenceFEs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ struct MomentBasedDofBasis{P,V} <: AbstractVector{Moment}
end
end

Base.size(a::MomentBasedDofBasis) = (length(a.nodes),)
Base.axes(a::MomentBasedDofBasis) = (axes(a.nodes,1),)
Base.size(a::MomentBasedDofBasis) = (num_dofs(a),)
Base.axes(a::MomentBasedDofBasis) = (Base.OneTo(num_dofs),)
Base.getindex(a::MomentBasedDofBasis,i::Integer) = Moment()
Base.IndexStyle(::MomentBasedDofBasis) = IndexLinear()

Expand Down

0 comments on commit 02a1648

Please sign in to comment.