Skip to content

Commit

Permalink
repaired
Browse files Browse the repository at this point in the history
  • Loading branch information
Otepipi committed Jun 13, 2019
1 parent 74fa8a1 commit ebd0023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DesignStructureMatrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ end
function toReachableMatrix(DSM)

I = zeros(Int64,size(DSM)) + Diagonal(ones(Int64,size(DSM))); #identity matrix

R1 = zeros(Int64,size(DSM))
calcmax = 1000

for i = 1 : calcmax


global R1 = (DSM+I)^i
R1 = (DSM+I)^i
(Rindex) =findall(x-> 1<x , R1);
R1[Rindex] = ones(size(Rindex));

Expand Down

0 comments on commit ebd0023

Please sign in to comment.