Skip to content

Commit

Permalink
Fixed SymbolVertex verify method
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiHarif committed Sep 24, 2023
1 parent 135fe34 commit 3585de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vertex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class SymbolVertex extends Vertex implements DataVertex {
}

verify(): boolean {
return this.name !== undefined && this.startVertex !== undefined;
return this.name !== undefined;
}

accept<T>(visitor: VertexVisitor<T>): T {
Expand Down

0 comments on commit 3585de5

Please sign in to comment.