Skip to content

Commit 33749bd

Browse files
committed
Adapt to new QUDT multiplication sign
1 parent a5972b5 commit 33749bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qudtlib-model/src/main/java/io/github/qudtlib/model/FactorUnits.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public Optional<String> getSymbol() {
510510
if (fu.exponent > 0) {
511511
String symbol = fu.unit.getSymbol().orElse(null);
512512
if (symbol == null) return Optional.empty();
513-
sb.append(symbol).append(getExponentString(fu.exponent)).append("");
513+
sb.append(symbol).append(getExponentString(fu.exponent)).append("·");
514514
} else {
515515
hasDenominator = true;
516516
}
@@ -527,7 +527,7 @@ public Optional<String> getSymbol() {
527527
if (symbol == null) return Optional.empty();
528528
sbDenom.append(symbol);
529529
sbDenom.append(getExponentString(fu.exponent));
530-
sbDenom.append("");
530+
sbDenom.append("·");
531531
cnt++;
532532
}
533533
}

0 commit comments

Comments
 (0)