Fixed vectorize warning
This commit is contained in:
@@ -256,7 +256,7 @@ collapse_priority(const CollapseInfo& _ci)
|
||||
// undo simulation changes
|
||||
mesh_.set_point(_ci.v0, _ci.p0);
|
||||
|
||||
return ( ok ? Base::LEGAL_COLLAPSE : Base::ILLEGAL_COLLAPSE );
|
||||
return ( ok ? static_cast<float>(Base::LEGAL_COLLAPSE) : static_cast<float>(Base::ILLEGAL_COLLAPSE) );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -576,7 +576,7 @@ void CompositeT<MeshType,RealType>::FVc(Coeff& _coeff)
|
||||
++valence;
|
||||
}
|
||||
|
||||
c = static_cast<real_t>(_coeff(valence));
|
||||
c = static_cast<scalar_t>(_coeff(valence));
|
||||
|
||||
for (voh_it = mesh_.voh_iter(*v_it); voh_it.is_valid(); ++voh_it) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user