]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
LT::Functor: compare sets with numeric equality
authorVincent Pit <vince@profvince.com>
Sun, 1 Aug 2010 20:35:33 +0000 (22:35 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 1 Aug 2010 20:35:33 +0000 (22:35 +0200)
lib/LaTeX/TikZ/Functor.pm

index 4ccfd32eb289e17e93caa521e95718c892cc6153..d4ba0740b96d5abd917a18a6007bc6fc06911167 100644 (file)
@@ -147,7 +147,7 @@ sub new {
   return $set unless $rule;
 
   my $new_set = $rule->handler->($self, $set, @_);
-  return $set if $new_set eq $set;
+  return $set if $new_set == $set;
 
   my @new_mods;
 MOD: