Skip to content

Commit

Permalink
Nodes: OperatorNode - Maintain Variable Types In Comparison (#29194)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhhelgeson authored Aug 21, 2024
1 parent ad1fe86 commit 710aa87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/math/OperatorNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class OperatorNode extends TempNode {

typeB = typeA;

} else {
} else if ( typeA !== typeB ) {

typeA = typeB = 'float';

Expand Down

0 comments on commit 710aa87

Please sign in to comment.