GenericThresholdPressure: convert data to appropriate Scalar

This commit is contained in:
Arne Morten Kvarving 2024-06-03 12:31:45 +02:00
parent 1113746b7d
commit c29d60640c

View File

@ -74,8 +74,8 @@ public:
*
* This is used for the restart capability.
*/
void setFromRestart(const std::vector<Scalar>& values)
{ thpres_ = values; }
void setFromRestart(const std::vector<double>& values)
{ thpres_.assign(values.begin(), values.end()); }
//! \brief Returns a fully expanded vector for restart file writing.
//! \details Returns the union of explicitly configured entries and defaulted values.