Kleinigkeit geändert
parent
eba13bb713
commit
96bb0a7299
|
|
@ -96,7 +96,7 @@ function draw(){
|
||||||
for(let otherVertex of vertices){
|
for(let otherVertex of vertices){
|
||||||
|
|
||||||
if(vertexReachable){
|
if(vertexReachable){
|
||||||
otherVertexReachable=false;
|
let otherVertexReachable=false;
|
||||||
for(let reachableOne of reachableFromStart){
|
for(let reachableOne of reachableFromStart){
|
||||||
if(reachableOne==otherVertex.name){
|
if(reachableOne==otherVertex.name){
|
||||||
otherVertexReachable=true;
|
otherVertexReachable=true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue