Skip to content

Commit

Permalink
Fix type names of depicted vectors.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Sep 21, 2024
1 parent 4f5af0e commit 22ec246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/v0.1.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-20T15:50:16","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-21T21:43:19","documenter_version":"1.7.0"}}
6 changes: 3 additions & 3 deletions src/messages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ end
function depict_vector(vector::AbstractVector, prefix::AbstractString)::String # untested
try
if strides(vector) == (1,)
return depict_vector_size(vector, concat_prefixes(prefix, "$(typeof(vector)) - Dense"))
return depict_vector_size(vector, concat_prefixes(prefix, "$(nameof(typeof(vector))) - Dense"))
else
return depict_vector_size(vector, concat_prefixes(prefix, "$(typeof(vector)) - Strided"))
return depict_vector_size(vector, concat_prefixes(prefix, "$(nameof(typeof(vector))) - Strided"))
end
catch
return depict_vector_size(vector, concat_prefixes(prefix, "$(typeof(vector))"))
return depict_vector_size(vector, concat_prefixes(prefix, "$(nameof(typeof(vector)))"))
end
end

Expand Down

0 comments on commit 22ec246

Please sign in to comment.