Skip to content

Commit 83208e1

Browse files
committed
[rtlutil]: Initializing the defined_size attribute of a VNumber in copy constructor
Signed-off-by: Seyed Alireza Damghani <[email protected]>
1 parent 69b514e commit 83208e1

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)