code cleaning: remove print statement

This commit is contained in:
Nicolas Guillot
2025-11-18 09:01:00 +01:00
parent 90767b7953
commit 8ce6da114c
7 changed files with 1 additions and 46 deletions

View File

@@ -285,7 +285,7 @@ public class MTMathAtom: NSObject {
assert(self.superScript == nil, "Cannot fuse into an atom which has a superscript: \(self)");
assert(atom.type == self.type, "Only atoms of the same type can be fused. \(self), \(atom)");
guard self.subScript == nil, self.superScript == nil, self.type == atom.type
else { print("Can't fuse these 2 atoms"); return }
else { return }
// Update the fused atoms list
if self.fusedAtoms.isEmpty {