From 9999c436ae10f59b04e52da2c2b51f31e698d426 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 15 Jan 2025 11:19:33 -0700 Subject: [PATCH] Make a variable in step-44 'unsigned'. --- examples/step-44/step-44.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5