[system] / trunk / pg / lib / Value / Point.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Value/Point.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2592 Revision 2603
45 unless defined($p) && scalar(@{$p}) > 0; 45 unless defined($p) && scalar(@{$p}) > 0;
46 foreach my $x (@{$p}) { 46 foreach my $x (@{$p}) {
47 $isFormula = 1 if Value::isFormula($x); 47 $isFormula = 1 if Value::isFormula($x);
48 Value::Error("Coordinate of Point can't be ".Value::showClass($x)) 48 Value::Error("Coordinate of Point can't be ".Value::showClass($x))
49 unless Value::isNumber($x); 49 unless Value::isNumber($x);
50 $x = Value::Real->make($x) if $$Value::context->flag('useFuzzyReals'); 50 $x = Value::Real->make($x);
51 } 51 }
52 } 52 }
53 return $self->formula($p) if $isFormula; 53 return $self->formula($p) if $isFormula;
54 bless {data => $p}, $class; 54 bless {data => $p}, $class;
55} 55}

Legend:
Removed from v.2592  
changed lines
  Added in v.2603

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9