Skip to content
Snippets Groups Projects
Commit d4121ea4 authored by andy's avatar andy
Browse files

BUG: Corrected setting of values for ExplicitSetValue fieldSource (constraint)

parent 3a6fe765
Branches
Tags
No related merge requests found
......@@ -81,9 +81,7 @@ void Foam::ExplicitSetValue<Type>::setValue
<< ">::setValue for source " << name_ << endl;
}
List<Type> values(cells_.size());
UIndirectList<Type>(values, cells_) = injectionRate_[fieldI];
List<Type> values(cells_.size(), injectionRate_[fieldI]);
eqn.setValues(cells_, values);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment