Skip to content

Commit

Permalink
eye compatability with SimpleTropical
Browse files Browse the repository at this point in the history
  • Loading branch information
scheinerman committed Mar 28, 2021
1 parent 29f6fa9 commit 27f0186
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LinearAlgebraX"
uuid = "9b3f67b0-2d00-526e-9884-9e4938f8fb88"
version = "0.1.6"
version = "0.1.7"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
2 changes: 1 addition & 1 deletion src/eye.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ are numbers of type `T` (`Float64` by default).
function eye(T,n)
A = zeros(T,n,n)
for j=1:n
@inbounds A[j,j] = T(1)
@inbounds A[j,j] = one(T)
end
return A
end
Expand Down

0 comments on commit 27f0186

Please sign in to comment.