I fixed it by doing
        for(int i = 0; i<actor->parameters().size();++i){
            actor_target->parameters()[i].data().copy_(actor->parameters()[i].data()*tau_ + actor_target->parameters()[i].data()*(1.0-tau_));
        }
        

Still wondering why I can’t dereference an iterator on parameters() though.