Skip to content

Commit 4eb39c1

Browse files
authored
Merge pull request #1739 from sdamghan/minus_operator
Initializing defined_size in VNumber Copy constructor
2 parents 3509472 + 24bafc3 commit 4eb39c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/librtlnumber/src/include/internal_bits.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ class VNumber {
728728
VNumber(VNumber other, size_t length) {
729729
this->sign = other.sign;
730730
this->bitstring = other.bitstring.resize(other.get_padding_bit(), length);
731-
// TODO this->defined_size = true?????;
731+
this->defined_size = other.defined_size;
732732
}
733733

734734
VNumber(const std::string& verilog_string) {

0 commit comments

Comments
 (0)