Skip to content

Commit

Permalink
[FIX] fixed #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Cr0a3 committed Aug 29, 2024
1 parent 1f50b83 commit f8f6140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/IR/nodes/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ macro_rules! MathIrNode {
}

fn dump(&self) -> String {
format!("{} = {} {} {}, {}", $dump, self.inner3.name, self.inner3.ty, self.inner1.val(), self.inner2.val())
format!("{} = {} {} {}, {}", self.inner3.name, $dump, self.inner3.ty, self.inner1.val(), self.inner2.val())
}

fn dumpColored(&self, profile: ColorProfile) -> String {
Expand Down Expand Up @@ -110,7 +110,7 @@ macro_rules! MathIrNode {
}

fn dump(&self) -> String {
format!("{} = {} {} {}, {}", $dump, self.inner3.name, self.inner3.ty, self.inner1.name, self.inner2.name)
format!("{} = {} {} {}, {}", self.inner3.name, $dump, self.inner3.ty, self.inner1.name, self.inner2.name)
}

fn dumpColored(&self, profile: ColorProfile) -> String {
Expand Down Expand Up @@ -161,7 +161,7 @@ macro_rules! MathIrNode {
}

fn dump(&self) -> String {
format!("{} = {} {} {}, {}", $dump, self.inner3.name, self.inner1.ty, self.inner1.name, self.inner2.val())
format!("{} = {} {} {}, {}", self.inner3.name, $dump, self.inner1.ty, self.inner1.name, self.inner2.val())
}

fn dumpColored(&self, profile: ColorProfile) -> String {
Expand Down

0 comments on commit f8f6140

Please sign in to comment.