From 1eb3951dfb058f68a6c6987915fe2c844c2bde11 Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Mon, 16 Oct 2023 18:25:12 +0200
Subject: [PATCH] Write the scale vector to binary output.

---
 src/sphere/edfb.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sphere/edfb.cpp b/src/sphere/edfb.cpp
index c7f4bd51..5858e70f 100644
--- a/src/sphere/edfb.cpp
+++ b/src/sphere/edfb.cpp
@@ -403,6 +403,8 @@ int main(int argc, char **argv) {
   write_double_(&uid, &xip);
   write_int_(&uid, &idfc);
   write_int_(&uid, &nxi);
+  for (int xivi = 0; xivi < nxi; xivi++)
+    write_double_(&uid, (xiv + xivi));
   for (int i115 = 1; i115 <= nsph; i115++) {
     if (iog[i115 - 1] < i115) continue;
     write_int_(&uid, (nshl + i115 -1));
-- 
GitLab