From e303ac9d5ac5faf462399c69ad0eaff48462e875 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 11:20:13 +0200 Subject: [PATCH 01/16] quick fix --- src/DependencyGraph/Graph.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 5ff7609293..401b4c3373 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -214,8 +214,10 @@ export class Graph { low.set(pu!, Math.min(low.get(pu!)!, low.get(u)!)) } DFSstack.pop() - onStack.delete(u) - order.push(u) + if(onStack.has(u)) { //otherwise its a 'shadow' copy, we already processed this vertex and can ignore + onStack.delete(u) + order.push(u) + } } else { processed.add(u) entranceTime.set(u, time) From 0af7167988bb503118dca01f18dba41dc0a26ef8 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 11:22:46 +0200 Subject: [PATCH 02/16] extra test --- test/engine.spec.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/test/engine.spec.ts b/test/engine.spec.ts index 416e5ae713..1a8e50672a 100644 --- a/test/engine.spec.ts +++ b/test/engine.spec.ts @@ -714,3 +714,29 @@ describe('dateTime', () => { expect(engine.numberToTime(1.1)).toEqual({'hours': 26, 'minutes': 24, 'seconds': 0}) }) }) + +describe('engine should build correctly', () => { + it('should build correctly #1', () => { + expect(() => HyperFormula.buildFromArray([ + ['=A3+A2'], + ['=A3'], + ])).not.toThrowError() + }) + + it('should build correctly #2', () => { + expect(() => HyperFormula.buildFromArray([ + ['=A4+A3+A2'], + ['=A4+A3'], + ['=A4'], + ])).not.toThrowError() + }) + + it('should build correctly #3', () => { + expect(() => HyperFormula.buildFromArray([ + ['=A5+A4+A3+A2'], + ['=A5+A4+A3'], + ['=A5+A4'], + ['=A5'], + ])).not.toThrowError() + }) +}) From aa9200c90c2faa5711c4eb02ba500be8abb96779 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 12:42:43 +0200 Subject: [PATCH 03/16] better logic --- src/DependencyGraph/Graph.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 401b4c3373..e8135ce256 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -208,13 +208,13 @@ export class Graph { while ( DFSstack.length > 0 ) { const u = DFSstack[ DFSstack.length - 1 ] if ( processed.has(u) ) { // leaving this DFS subtree - const pu = parent.get(u) - if ( pu !== null ) { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - low.set(pu!, Math.min(low.get(pu!)!, low.get(u)!)) - } DFSstack.pop() if(onStack.has(u)) { //otherwise its a 'shadow' copy, we already processed this vertex and can ignore + const pu = parent.get(u) + if ( pu !== null ) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + low.set(pu!, Math.min(low.get(pu!)!, low.get(u)!)) + } onStack.delete(u) order.push(u) } From bd8680102aa1beee9a63dc71bd6910e079025600 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 18:17:03 +0200 Subject: [PATCH 04/16] code refactor --- src/DependencyGraph/Graph.ts | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index e8135ce256..69bae7291c 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -9,6 +9,12 @@ export interface TopSortResult { sorted: T[], cycled: T[], } +enum NodeVisitStatus { + ON_STACK, + PROCESSED, + POPPED, +} + /** * Provides graph directed structure * @@ -188,14 +194,13 @@ export class Graph { const entranceTime: Map = new Map() const low: Map = new Map() const parent: Map = new Map() - const processed: Set = new Set() - const onStack: Set = new Set() + const nodeStatus: Map = new Map() const order: T[] = [] let time: number = 0 modifiedNodes.reverse().forEach( (v: T) => { - if (processed.has(v)) { + if (nodeStatus.get(v) === NodeVisitStatus.PROCESSED || nodeStatus.get(v) === NodeVisitStatus.POPPED) { return } entranceTime.set(v, time) @@ -204,34 +209,34 @@ export class Graph { parent.set(v, null) time++ const DFSstack: T[] = [v] - onStack.add(v) + nodeStatus.set(v, NodeVisitStatus.ON_STACK) while ( DFSstack.length > 0 ) { const u = DFSstack[ DFSstack.length - 1 ] - if ( processed.has(u) ) { // leaving this DFS subtree + if ( nodeStatus.get(u) === NodeVisitStatus.PROCESSED || nodeStatus.get(u) === NodeVisitStatus.POPPED ) { // leaving this DFS subtree DFSstack.pop() - if(onStack.has(u)) { //otherwise its a 'shadow' copy, we already processed this vertex and can ignore + if(nodeStatus.get(u) === NodeVisitStatus.PROCESSED) { //otherwise its a 'shadow' copy, we already processed this vertex and can ignore const pu = parent.get(u) if ( pu !== null ) { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion low.set(pu!, Math.min(low.get(pu!)!, low.get(u)!)) } - onStack.delete(u) + nodeStatus.set(u, NodeVisitStatus.POPPED) order.push(u) } } else { - processed.add(u) + nodeStatus.set(u, NodeVisitStatus.PROCESSED) entranceTime.set(u, time) low.set(u, time) this.adjacentNodes(u).forEach( (t: T) => { if (entranceTime.get(t) !== undefined) { // forward edge or backward edge - if (onStack.has(t)) { // backward edge + if (nodeStatus.get(t) === NodeVisitStatus.ON_STACK || nodeStatus.get(t) === NodeVisitStatus.PROCESSED) { // backward edge // eslint-disable-next-line @typescript-eslint/no-non-null-assertion low.set(u, Math.min(low.get(u)!, entranceTime.get(t)!)) } } else { parent.set(t, u) DFSstack.push(t) - onStack.add(t) + nodeStatus.set(t, NodeVisitStatus.ON_STACK) time++ } }) From a48de27c2010e19739fe6efacefb8ea4bb26cf17 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 18:19:59 +0200 Subject: [PATCH 05/16] simplify --- src/DependencyGraph/Graph.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 69bae7291c..07c47f5a93 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -200,11 +200,10 @@ export class Graph { let time: number = 0 modifiedNodes.reverse().forEach( (v: T) => { - if (nodeStatus.get(v) === NodeVisitStatus.PROCESSED || nodeStatus.get(v) === NodeVisitStatus.POPPED) { + if (nodeStatus.get(v) !== undefined) { return } entranceTime.set(v, time) - // order.push(v) low.set(v, time) parent.set(v, null) time++ From 15e99ab6dd9f457cde69a06cadf3ca8adbe023de Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 18:27:19 +0200 Subject: [PATCH 06/16] simplification --- src/DependencyGraph/Graph.ts | 45 +++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 07c47f5a93..604ae15e69 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -211,9 +211,8 @@ export class Graph { nodeStatus.set(v, NodeVisitStatus.ON_STACK) while ( DFSstack.length > 0 ) { const u = DFSstack[ DFSstack.length - 1 ] - if ( nodeStatus.get(u) === NodeVisitStatus.PROCESSED || nodeStatus.get(u) === NodeVisitStatus.POPPED ) { // leaving this DFS subtree - DFSstack.pop() - if(nodeStatus.get(u) === NodeVisitStatus.PROCESSED) { //otherwise its a 'shadow' copy, we already processed this vertex and can ignore + switch(nodeStatus.get(u)) { + case NodeVisitStatus.PROCESSED: { // leaving this DFS subtree const pu = parent.get(u) if ( pu !== null ) { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion @@ -221,24 +220,32 @@ export class Graph { } nodeStatus.set(u, NodeVisitStatus.POPPED) order.push(u) + DFSstack.pop() + break } - } else { - nodeStatus.set(u, NodeVisitStatus.PROCESSED) - entranceTime.set(u, time) - low.set(u, time) - this.adjacentNodes(u).forEach( (t: T) => { - if (entranceTime.get(t) !== undefined) { // forward edge or backward edge - if (nodeStatus.get(t) === NodeVisitStatus.ON_STACK || nodeStatus.get(t) === NodeVisitStatus.PROCESSED) { // backward edge - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - low.set(u, Math.min(low.get(u)!, entranceTime.get(t)!)) + case NodeVisitStatus.POPPED: { //its a 'shadow' copy, we already processed this vertex and can ignore it + DFSstack.pop() + break + } + case NodeVisitStatus.ON_STACK: { + nodeStatus.set(u, NodeVisitStatus.PROCESSED) + entranceTime.set(u, time) + low.set(u, time) + this.adjacentNodes(u).forEach( (t: T) => { + if (entranceTime.get(t) !== undefined) { // forward edge or backward edge + if (nodeStatus.get(t) === NodeVisitStatus.ON_STACK || nodeStatus.get(t) === NodeVisitStatus.PROCESSED) { // backward edge + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + low.set(u, Math.min(low.get(u)!, entranceTime.get(t)!)) + } + } else { + parent.set(t, u) + DFSstack.push(t) + nodeStatus.set(t, NodeVisitStatus.ON_STACK) + time++ } - } else { - parent.set(t, u) - DFSstack.push(t) - nodeStatus.set(t, NodeVisitStatus.ON_STACK) - time++ - } - }) + }) + break + } } } }) From 49971b2337bcb2e0efe1fd832ff4fe7e957c3c48 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 18:34:37 +0200 Subject: [PATCH 07/16] even simpler --- src/DependencyGraph/Graph.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 604ae15e69..ec78ba73fa 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -204,8 +204,6 @@ export class Graph { return } entranceTime.set(v, time) - low.set(v, time) - parent.set(v, null) time++ const DFSstack: T[] = [v] nodeStatus.set(v, NodeVisitStatus.ON_STACK) From a0ece6fb7bb4d43db4b5dce6145d67118a7f0981 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 18:40:47 +0200 Subject: [PATCH 08/16] even simpler simpler --- src/DependencyGraph/Graph.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index ec78ba73fa..9378696cef 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -231,7 +231,7 @@ export class Graph { low.set(u, time) this.adjacentNodes(u).forEach( (t: T) => { if (entranceTime.get(t) !== undefined) { // forward edge or backward edge - if (nodeStatus.get(t) === NodeVisitStatus.ON_STACK || nodeStatus.get(t) === NodeVisitStatus.PROCESSED) { // backward edge + if (nodeStatus.get(t) === NodeVisitStatus.PROCESSED) { // backward edge // eslint-disable-next-line @typescript-eslint/no-non-null-assertion low.set(u, Math.min(low.get(u)!, entranceTime.get(t)!)) } From 20d7c49586d0ce840a73fa8e4d519bd3b33a3509 Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 18:53:50 +0200 Subject: [PATCH 09/16] refactor --- src/DependencyGraph/Graph.ts | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 9378696cef..4ec7125096 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -230,19 +230,23 @@ export class Graph { entranceTime.set(u, time) low.set(u, time) this.adjacentNodes(u).forEach( (t: T) => { - if (entranceTime.get(t) !== undefined) { // forward edge or backward edge - if (nodeStatus.get(t) === NodeVisitStatus.PROCESSED) { // backward edge + switch(nodeStatus.get(t)){ + case NodeVisitStatus.POPPED: + break + case NodeVisitStatus.PROCESSED: { //backward edge // eslint-disable-next-line @typescript-eslint/no-non-null-assertion low.set(u, Math.min(low.get(u)!, entranceTime.get(t)!)) + break + } + case undefined: + case NodeVisitStatus.ON_STACK: { //not visited, or visited but not processed + parent.set(t, u) + DFSstack.push(t) + nodeStatus.set(t, NodeVisitStatus.ON_STACK) + time++ } - } else { - parent.set(t, u) - DFSstack.push(t) - nodeStatus.set(t, NodeVisitStatus.ON_STACK) - time++ } }) - break } } } From 43f9c8a518bbc6ed06b45d419b02b77b01634c0b Mon Sep 17 00:00:00 2001 From: izulin Date: Thu, 9 Jul 2020 19:00:54 +0200 Subject: [PATCH 10/16] . --- src/DependencyGraph/Graph.ts | 42 ++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index 4ec7125096..cbef55ccfd 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -194,6 +194,9 @@ export class Graph { const entranceTime: Map = new Map() const low: Map = new Map() const parent: Map = new Map() + + //nodes cycle their status: + //undefined -> ON_STACK -> PROCESSED -> POPPED const nodeStatus: Map = new Map() const order: T[] = [] @@ -209,22 +212,8 @@ export class Graph { nodeStatus.set(v, NodeVisitStatus.ON_STACK) while ( DFSstack.length > 0 ) { const u = DFSstack[ DFSstack.length - 1 ] - switch(nodeStatus.get(u)) { - case NodeVisitStatus.PROCESSED: { // leaving this DFS subtree - const pu = parent.get(u) - if ( pu !== null ) { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - low.set(pu!, Math.min(low.get(pu!)!, low.get(u)!)) - } - nodeStatus.set(u, NodeVisitStatus.POPPED) - order.push(u) - DFSstack.pop() - break - } - case NodeVisitStatus.POPPED: { //its a 'shadow' copy, we already processed this vertex and can ignore it - DFSstack.pop() - break - } + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + switch(nodeStatus.get(u)!) { case NodeVisitStatus.ON_STACK: { nodeStatus.set(u, NodeVisitStatus.PROCESSED) entranceTime.set(u, time) @@ -238,15 +227,32 @@ export class Graph { low.set(u, Math.min(low.get(u)!, entranceTime.get(t)!)) break } - case undefined: - case NodeVisitStatus.ON_STACK: { //not visited, or visited but not processed + case undefined: // not visited + case NodeVisitStatus.ON_STACK: { // or visited but not processed (both cases have the same processing) parent.set(t, u) DFSstack.push(t) nodeStatus.set(t, NodeVisitStatus.ON_STACK) time++ + break } } }) + break + } + case NodeVisitStatus.PROCESSED: { // leaving this DFS subtree + const pu = parent.get(u) + if ( pu !== null ) { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + low.set(pu!, Math.min(low.get(pu!)!, low.get(u)!)) + } + nodeStatus.set(u, NodeVisitStatus.POPPED) + order.push(u) + DFSstack.pop() + break + } + case NodeVisitStatus.POPPED: { //its a 'shadow' copy, we already processed this vertex and can ignore it + DFSstack.pop() + break } } } From b629738464464026fa779d96f0e0f62ff671f97a Mon Sep 17 00:00:00 2001 From: Bartek Dudek Date: Thu, 9 Jul 2020 23:31:28 +0200 Subject: [PATCH 11/16] tiny fixes --- src/DependencyGraph/Graph.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index cbef55ccfd..ad78ad6a89 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -195,8 +195,8 @@ export class Graph { const low: Map = new Map() const parent: Map = new Map() - //nodes cycle their status: - //undefined -> ON_STACK -> PROCESSED -> POPPED + // node status life cycle: + // undefined -> ON_STACK -> PROCESSED -> POPPED const nodeStatus: Map = new Map() const order: T[] = [] @@ -206,7 +206,6 @@ export class Graph { if (nodeStatus.get(v) !== undefined) { return } - entranceTime.set(v, time) time++ const DFSstack: T[] = [v] nodeStatus.set(v, NodeVisitStatus.ON_STACK) @@ -228,7 +227,8 @@ export class Graph { break } case undefined: // not visited - case NodeVisitStatus.ON_STACK: { // or visited but not processed (both cases have the same processing) + // process as in the case of ON_STACK + case NodeVisitStatus.ON_STACK: { // or visited but not processed parent.set(t, u) DFSstack.push(t) nodeStatus.set(t, NodeVisitStatus.ON_STACK) @@ -250,7 +250,7 @@ export class Graph { DFSstack.pop() break } - case NodeVisitStatus.POPPED: { //its a 'shadow' copy, we already processed this vertex and can ignore it + case NodeVisitStatus.POPPED: { // it's a 'shadow' copy, we already processed this vertex and can ignore it DFSstack.pop() break } From fc835c07b8d9bb57e9d9e0685d2599c8959303ca Mon Sep 17 00:00:00 2001 From: Bartek Dudek Date: Thu, 9 Jul 2020 23:46:28 +0200 Subject: [PATCH 12/16] fix eslint error --- src/DependencyGraph/Graph.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DependencyGraph/Graph.ts b/src/DependencyGraph/Graph.ts index ad78ad6a89..798fe535c2 100644 --- a/src/DependencyGraph/Graph.ts +++ b/src/DependencyGraph/Graph.ts @@ -228,6 +228,7 @@ export class Graph { } case undefined: // not visited // process as in the case of ON_STACK + // eslint-disable-next-line no-fallthrough case NodeVisitStatus.ON_STACK: { // or visited but not processed parent.set(t, u) DFSstack.push(t) From 71112b5c5ea5ca8dbe152db5f72e8de18bbf350d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Uzna=C5=84ski?= <40573492+izulin@users.noreply.github.com> Date: Fri, 10 Jul 2020 11:02:04 +0200 Subject: [PATCH 13/16] Update test/engine.spec.ts Co-authored-by: Wojciech Czerniak --- test/engine.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/engine.spec.ts b/test/engine.spec.ts index 1a8e50672a..5efb756ab4 100644 --- a/test/engine.spec.ts +++ b/test/engine.spec.ts @@ -715,8 +715,8 @@ describe('dateTime', () => { }) }) -describe('engine should build correctly', () => { - it('should build correctly #1', () => { +describe('Graph dependency order module blah blah', () => { + it('should build correctly when rows are dependant on cells that are not yet processed', () => { expect(() => HyperFormula.buildFromArray([ ['=A3+A2'], ['=A3'], From ab1a2d548e6f722e35aa3dfa7b8b4fefdde9b663 Mon Sep 17 00:00:00 2001 From: izulin Date: Fri, 10 Jul 2020 11:05:33 +0200 Subject: [PATCH 14/16] better explanation of a test --- test/engine.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/engine.spec.ts b/test/engine.spec.ts index 5efb756ab4..e1441da0e1 100644 --- a/test/engine.spec.ts +++ b/test/engine.spec.ts @@ -715,15 +715,15 @@ describe('dateTime', () => { }) }) -describe('Graph dependency order module blah blah', () => { - it('should build correctly when rows are dependant on cells that are not yet processed', () => { +describe('Graph dependency topological ordering module', () => { + it('should build correctly when rows are dependant on cells that are not yet processed #1', () => { expect(() => HyperFormula.buildFromArray([ ['=A3+A2'], ['=A3'], ])).not.toThrowError() }) - it('should build correctly #2', () => { + it('should build correctly when rows are dependant on cells that are not yet processed #2', () => { expect(() => HyperFormula.buildFromArray([ ['=A4+A3+A2'], ['=A4+A3'], @@ -731,7 +731,7 @@ describe('Graph dependency order module blah blah', () => { ])).not.toThrowError() }) - it('should build correctly #3', () => { + it('should build correctly when rows are dependant on cells that are not yet processed #3', () => { expect(() => HyperFormula.buildFromArray([ ['=A5+A4+A3+A2'], ['=A5+A4+A3'], From 3e419e6172895e64a8f876fcddf23967816433c3 Mon Sep 17 00:00:00 2001 From: izulin Date: Fri, 10 Jul 2020 11:06:58 +0200 Subject: [PATCH 15/16] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 110284c9ea..512d6e1354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Fixed a bug in topological ordering module. (#442) ## [0.1.1] - 2020-07-01 From ef44132a27799c7aff1fe830d4b7763043c90fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Uzna=C5=84ski?= <40573492+izulin@users.noreply.github.com> Date: Fri, 10 Jul 2020 15:19:30 +0200 Subject: [PATCH 16/16] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anna Cieślik --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 512d6e1354..4134adcced 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed - Fixed a bug in topological ordering module. (#442) ## [0.1.1] - 2020-07-01