From 903c0acbe4854a6987ef8d25d3272c5533026f4f Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Mon, 5 Feb 2024 15:10:13 +0100
Subject: [PATCH] Fix refractive index output format

---
 src/sphere/sphere.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sphere/sphere.cpp b/src/sphere/sphere.cpp
index 8183ef54..efad7ad1 100644
--- a/src/sphere/sphere.cpp
+++ b/src/sphere/sphere.cpp
@@ -317,7 +317,7 @@ void sphere(string config_file, string data_file, string output_path) {
 	    } else {
 	      fprintf(
 		      output,
-		      "  SIZE=%15.7lE, REFRACTIVE INDEX=(%15.7lE,%15.7lE)\n",
+		      "  SIZE=%15.7lE, REFRACTIVE INDEX=%15.7lE%15.7lE\n",
 		      c2->vsz[i170],
 		      c2->vkt[i170].real(),
 		      c2->vkt[i170].imag()
-- 
GitLab