Skip to content

Commit ba27903

Browse files
fix typo
1 parent b441de5 commit ba27903

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

TOSSH_code/signature_functions/sig_SeasonalTranslation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
% time series have to be numeric and either a (n,1) or a (1,n) vector
6464
addRequired(ip, 'P', @(P) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
6565
% time series have to be numeric and either a (n,1) or a (1,n) vector
66-
addRequired(ip, 'PET', @(PET) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
66+
addRequired(ip, 'PET', @(PET) isnumeric(PET) && (size(PET,1)==1 || size(PET,2)==1))
6767

6868
% optional input arguments
6969
addParameter(ip, 'period', 365, @isnumeric) % period of cycle (default 1 year)

TOSSH_code/signature_functions/sig_StorageFraction.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
% time series have to be numeric and either a (n,1) or a (1,n) vector
6969
addRequired(ip, 'P', @(P) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
7070
% time series have to be numeric and either a (n,1) or a (1,n) vector
71-
addRequired(ip, 'PET', @(PET) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
71+
addRequired(ip, 'PET', @(PET) isnumeric(PET) && (size(PET,1)==1 || size(PET,2)==1))
7272

7373
% optional input arguments
7474
addParameter(ip, 'field_capacity', [], @isnumeric) % field capacity

TOSSH_code/signature_functions/sig_StorageFromBaseflow.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
% time series have to be numeric and either a (n,1) or a (1,n) vector
7272
addRequired(ip, 'P', @(P) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
7373
% time series have to be numeric and either a (n,1) or a (1,n) vector
74-
addRequired(ip, 'PET', @(PET) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
74+
addRequired(ip, 'PET', @(PET) isnumeric(PET) && (size(PET,1)==1 || size(PET,2)==1))
7575

7676
% optional input arguments
7777
validationFcn = @(x) isnumeric(x) && isscalar(x) && (x >= 1) && (x <= 12) && floor(x)==x;

TOSSH_code/signature_functions/sig_TemplateAdvanced.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
% time series have to be numeric and either a (n,1) or a (1,n) vector
6464
addRequired(ip, 'P', @(P) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
6565
% time series have to be numeric and either a (n,1) or a (1,n) vector
66-
addRequired(ip, 'PET', @(PET) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
66+
addRequired(ip, 'PET', @(PET) isnumeric(PET) && (size(PET,1)==1 || size(PET,2)==1))
6767
% time series have to be numeric and either a (n,1) or a (1,n) vector
6868
addRequired(ip, 'T', @(T) isnumeric(T) && (size(T,1)==1 || size(T,2)==1))
6969
% param has to be numeric and either a (n,1) or a (1,n) vector

TOSSH_code/utility_functions/util_StorageAndAET.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
% time series have to be numeric and either a (n,1) or a (1,n) vector
5555
addRequired(ip, 'P', @(P) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
5656
% time series have to be numeric and either a (n,1) or a (1,n) vector
57-
addRequired(ip, 'PET', @(PET) isnumeric(P) && (size(P,1)==1 || size(P,2)==1))
57+
addRequired(ip, 'PET', @(PET) isnumeric(PET) && (size(PET,1)==1 || size(PET,2)==1))
5858

5959
% optional input arguments
6060
addParameter(ip, 'field_capacity', [], @isnumeric) % field capacity for scaling PET to AET

0 commit comments

Comments
 (0)