From 329ab158bb4b813dc91113640c7f794147c4fd4b Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 14 Nov 2023 00:05:15 +0000 Subject: [PATCH] Auto-generated commit --- CONTRIBUTORS | 2 +- examples/c/example.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 0dae4fe..3bc3576 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -29,6 +29,7 @@ Ognjen Jevremović Philipp Burckhardt Pranav Goswami Ricky Reusser +Robert Gislason Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Ryan Seal Seyyed Parsa Neshaei @@ -37,4 +38,3 @@ Stephannie Jiménez Gacha Yernar Yergaziyev orimiles5 <97595296+orimiles5@users.noreply.github.com> rei2hu -Robert Gislason diff --git a/examples/c/example.c b/examples/c/example.c index bb97bfa..669ea50 100644 --- a/examples/c/example.c +++ b/examples/c/example.c @@ -20,8 +20,8 @@ #include int main( void ) { - double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 }; - double y[] = { 3.14, -3.14, -0.0, 0.0/0.0 }; + const double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 }; + const double y[] = { 3.14, -3.14, -0.0, 0.0/0.0 }; double z; int i;