Skip to content

Commit

Permalink
minor docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
behinger authored Oct 10, 2024
1 parent dcf0bff commit 0f279f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ function FileIO.save(file, uf::T; compress = false) where {T<:UnfoldModel}
end
end

"""
empty_modelmatrix(d::AbstractDesignMatrix)
returns an empty modelmatrix of the type DesignMatrix type of `d`
"""
function empty_modelmatrix(d::AbstractDesignMatrix)

return typeof(d)().modelmatrix
end

Expand Down

0 comments on commit 0f279f5

Please sign in to comment.