Skip to content

Commit

Permalink
🚨 fix some 'code smells': fix equals for string
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Lum committed Apr 30, 2024
1 parent 5070f88 commit ccf65a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/math/ASCIIMathTeXImg.java
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ private String[] aAMTparseExpr(String str, boolean rightbracket) {
}
}
for (int j = subarr.size() - 1; j >= 0; j--) {
if (subarr.get(j) == "{\\mid}") {
if (subarr.get(j).equals("{\\mid}")) {
if (i == 0) {
columnaligns = "|" + columnaligns;
}
Expand Down

0 comments on commit ccf65a5

Please sign in to comment.