From 95b1730f55d9f740f73546247b7c9293fc9eec0e Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Mon, 16 Oct 2023 17:05:22 +0200
Subject: [PATCH] Fix PU definition in INXI branch.

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

diff --git a/src/sphere/edfb.cpp b/src/sphere/edfb.cpp
index 04ded87d..244c11b2 100644
--- a/src/sphere/edfb.cpp
+++ b/src/sphere/edfb.cpp
@@ -345,7 +345,7 @@ int main(int argc, char **argv) {
       }
       vss = xi_vector.to_array();
       xiv = xi_vector.to_array();
-      pu = xip + wp;
+      pu = xip * wp;
       wn = pu / 3.0e8;
       fprintf(output, "          XIP          WN           WL           PU           EV\n");
       fprintf(output, "     %13.4lE", xip);
-- 
GitLab