void ActorJoinSimcall::serialize(std::stringstream& stream) const
{
stream << (short)mc::Transition::Type::ACTOR_JOIN << ' ';
- stream << other_->get_pid() << ' ' << static_cast<bool>(timeout_ > 0);
+ stream << other_->get_pid() << ' ' << (timeout_ > 0);
}
} // namespace simgrid::kernel::actor
namespace simgrid::smpi {
static auto factor_lambda(std::vector<double> const& values, double size)
{
- return values[0] + values[1] * static_cast<size_t>(size);
+ return values[0] + values[1] * size;
}
class Host {
kernel::resource::FactorSet orecv_{"smpi/or", 0.0, factor_lambda};