Closed dguittet closed 2 months ago
Describe the bug In the function copy for var_data, the vec field is appending entries from the rhs.vec instead of replacing. https://github.com/NREL/ssc/blob/217296f1a92d1a37ccf1600de994664ee216ffa2/ssc/vartab.h#L152
rhs.vec
Expected behavior The old vec data should be cleared and the new one copied over.
Describe the bug In the function copy for var_data, the vec field is appending entries from the
rhs.vec
instead of replacing. https://github.com/NREL/ssc/blob/217296f1a92d1a37ccf1600de994664ee216ffa2/ssc/vartab.h#L152Expected behavior The old vec data should be cleared and the new one copied over.