If there are multiple variables with the same value, the current code searches for them individually and replaces them for every multiple value. This creates errors like \SI{\Si{...}{}}{}. The same goes for values which already exist in the equation. For example a**3 and a value b = (3,'something') which replaces the 3 in the exponent.
If there are multiple variables with the same value, the current code searches for them individually and replaces them for every multiple value. This creates errors like
\SI{\Si{...}{}}{}. The same goes for values which already exist in the equation. For examplea**3and a valueb = (3,'something')which replaces the 3 in the exponent.