We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3384bf commit 7694bdfCopy full SHA for 7694bdf
lib/Graphics/Toolkit/Color/Space/Shape.pm
@@ -94,7 +94,7 @@ sub _precision { # check if precision def is valid and eval (exapand) it
94
95
sub in_range { # $vals -- $range, $precision --> $@vals | ~!
96
my ($self, $values, $range, $precision) = @_;
97
- return 'color value vector in '.$self->basis->space_name.' needs '.$self->basis->count.' values'
+ return 'color value tuple in '.$self->basis->space_name.' space needs to be ARRAY ref with '.$self->basis->count.' elements'
98
unless $self->basis->is_value_tuple( $values );
99
$range = $self->_range( $range );
100
return "got bad range definition" unless ref $range;
0 commit comments