From d91e2f5d7410f1898f5d7a5ab95fa61e2a5045d6 Mon Sep 17 00:00:00 2001
From: Robert Butora <robert.butora@inaf.it>
Date: Sat, 28 Sep 2024 17:02:48 +0200
Subject: [PATCH] vlkb overlap: fixes error when less NAXIS defined then WCS
 keys defined

---
 data-access/engine/src/common/src/ast_frameset.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data-access/engine/src/common/src/ast_frameset.cpp b/data-access/engine/src/common/src/ast_frameset.cpp
index 9a8c724..2996470 100644
--- a/data-access/engine/src/common/src/ast_frameset.cpp
+++ b/data-access/engine/src/common/src/ast_frameset.cpp
@@ -927,7 +927,7 @@ overlap_ranges ast::frameset::overlap(coordinates coord)
    for(ix = m_NAXIS; ix < naxes; ix++)
    {
       p1[ix] = 0.5;
-      p2[ix] = 0.5;
+      p2[ix] = 1.5;
    }
 
    AstBox * pixbox = astBox( pixfrm, 1, p1, p2, NULL, " " );
-- 
GitLab