From 8622c754b7981c7dea3a8f6560486c4fa36c9554 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 24 Nov 2020 23:35:44 -0500 Subject: [PATCH] Fix unstable statistic --- src/V3SplitVar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3SplitVar.cpp b/src/V3SplitVar.cpp index c949e3478..3d36af63d 100644 --- a/src/V3SplitVar.cpp +++ b/src/V3SplitVar.cpp @@ -960,7 +960,7 @@ class SplitPackedVarVisitor final : public AstNVisitor, public SplitVarImpl { typedef std::map PackedVarRefMap; AstNetlist* m_netp; AstNodeModule* m_modp = nullptr; // Current module (just for log) - int m_numSplit; // Total number of split variables + int m_numSplit = 0; // Total number of split variables // key:variable to be split. value:location where the variable is referenced. PackedVarRefMap m_refs; virtual void visit(AstNodeFTask* nodep) override {