From d334339adc6d54a1e02f740ac05029a86a82b25a Mon Sep 17 00:00:00 2001
From: Gildas Cambon <gildas.cambon@ird.fr>
Date: Thu, 17 Nov 2022 14:56:53 +0100
Subject: [PATCH] Nesting tools : correct nested_grid.m to handle correctly the
 Create_AGRIF_FixedGrids.in button. Thanks to S. Illig

---
 Nesting_tools/nested_grid.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Nesting_tools/nested_grid.m b/Nesting_tools/nested_grid.m
index 3f452d48..f074baad 100644
--- a/Nesting_tools/nested_grid.m
+++ b/Nesting_tools/nested_grid.m
@@ -450,11 +450,11 @@ warning off
 if newtopo==1
     legend([h1(1),h2(1),h3(1),h4(1),h5(1),h8(1)],...
         'Child topo','Parent topo','Raw topo','Child mask','Parent mask',...
-        'Parent rho points',1)
+        'Parent rho points')
 else
     legend([h1(1),h2(1),h4(1),h5(1),h8(1)],...
         'Child topo','Parent topo','Child mask','Parent mask',...
-        'Parent rho points',1)
+        'Parent rho points')
 end
 
 
-- 
GitLab