Skip to content

Commit

Permalink
notice changes to values
Browse files Browse the repository at this point in the history
fixes jasp-stats/INTERNAL-jasp#2659 (computed columns not cascading)
  • Loading branch information
JorisGoosen committed Oct 10, 2024
1 parent e64ad5c commit 62dd850
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CommonData/column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ columnType Column::setValues(const stringvec & values, const stringvec & labels,

for(size_t i=0; i<values.size(); i++)
{
setValue(i, values[i], labels.size() ? labels[i] : "", false);
if(setValue(i, values[i], labels.size() ? labels[i] : "", false) && aChange)
(*aChange) = true;


if(values[i] != "" || (labels.size() && labels[i] != ""))
Expand Down

0 comments on commit 62dd850

Please sign in to comment.