From 6c0fed440c27ba0d6856feeb1000320320cf8a96 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 30 Sep 2019 21:52:46 +0000
Subject: xsim (30sep19)

git-svn-id: svn://tug.org/texlive/trunk@52232 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex')

diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex
index ab8662ad71b..98847ae129c 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex
@@ -8,7 +8,7 @@
 % Web:    https://github.com/cgnieder/xsim
 % E-Mail: contact@mychemistry.eu
 % ----------------------------------------------------------------------------
-% Copyright 2017--2018 Clemens Niederberger
+% Copyright 2017--2019 Clemens Niederberger
 % 
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -81,9 +81,9 @@
     \xsim_if_goal_exists:nT {#3}
       {
         \fp_gadd:cn {g__xsim_goal_#3_fp}
-          { 0 \xsim_get_property:nnn {#1} {#2} {#3} }
+          { \xsim_get_property:nnn {#1} {#2} {#3} + 0 }
         \fp_gadd:cn {g__xsim_#1_goal_#3_fp}
-          { 0 \xsim_get_property:nnn {#1} {#2} {#3} }
+          { \xsim_get_property:nnn {#1} {#2} {#3} + 0 }
       }
   }
 
@@ -305,3 +305,5 @@
 
 % ----------------------------------------------------------------------------
 \file_input_stop:
+
+2019/01/30 bug fix (cf. https://texwelt.de/wissen/fragen/24101/)
-- 
cgit v1.2.3

