From: Wolfgang Bangerth Date: Wed, 15 Jan 2025 18:19:33 +0000 (-0700) Subject: Make a variable in step-44 'unsigned'. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9999c436ae10f59b04e52da2c2b51f31e698d426;p=dealii.git Make a variable in step-44 'unsigned'. --- diff --git a/examples/step-44/step-44.cc b/examples/step-44/step-44.cc index 9ca6c994b5..57b7880776 100644 --- a/examples/step-44/step-44.cc +++ b/examples/step-44/step-44.cc @@ -843,7 +843,7 @@ namespace Step44 void determine_component_extractors(); // Create Dirichlet constraints for the incremental displacement field: - void make_constraints(const int it_nr); + void make_constraints(const unsigned int it_nr); // Several functions to assemble the system and right hand side matrices // using multithreading. Each of them comes as a wrapper function, one @@ -2234,7 +2234,7 @@ namespace Step44 // are hard to debug. In this spirit, we choose to make the code more verbose // in terms of what operations are performed at each Newton step. template - void Solid::make_constraints(const int it_nr) + void Solid::make_constraints(const unsigned int it_nr) { // Since we (a) are dealing with an iterative Newton method, (b) are using // an incremental formulation for the displacement, and (c) apply the