Skip to content

Commit

Permalink
fix: Missing variable initialization 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
GeeekyBoy authored Oct 23, 2024
1 parent 0a895f1 commit 17e8aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/minimizeFunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export default function () {
essentials.push(...(uniqueMintermRes.essentials || []));
primes = uniqueMintermRes.primes;
if (!primes.length) break;
rowDominanceRes = applyRowDominance(cloneObj(primes));
const rowDominanceRes = applyRowDominance(cloneObj(primes));
steps.push(...rowDominanceRes.steps);
primes = rowDominanceRes.primes;
if (!primes.length) break;
colDominanceRes = applyColDominance(cloneObj(primes));
const colDominanceRes = applyColDominance(cloneObj(primes));
steps.push(...colDominanceRes.steps);
primes = colDominanceRes.primes;
if (!primes.length) break;
Expand Down

0 comments on commit 17e8aa5

Please sign in to comment.