Difference between revisions of "Error Messages/40813"

(Created page with "= Warning Message = :The first parameter of Function Combinations(k,n) cannot be negative. = Cause = You have passed a negative value to one of the parameters of [[Combina...")
 
 
Line 1: Line 1:
= Warning Message =
+
[[Category: Error messages]]
  
:The first parameter of Function [[Combinations]](k,n) cannot be negative.
+
== Warning message ==
  
= Cause =
+
:<code>''The first parameter of Function Combinations(k, n) cannot be negative.''</code>
 +
 
 +
== Cause ==
  
 
You have passed a negative value to one of the parameters of [[Combinations]], such as:
 
You have passed a negative value to one of the parameters of [[Combinations]], such as:
  
:<code>Combinations(-2,5)</code>
+
:<code>Combinations(-2, 5)</code>
  
 
If you ignore the warning, the result will be [[NaN]].
 
If you ignore the warning, the result will be [[NaN]].
  
= See Also =
+
==Remedies==
 +
Correct the «k» parameter to the [[combinations]] function to be greater than or equal to zero.
  
* [[Combinations]](k,n)
+
== See Also ==
 +
* [[Function calls and parameters]]
 +
* [[Function parameter qualifiers]]
 +
* [[Combinations]]

Latest revision as of 23:25, 4 April 2016


Warning message

The first parameter of Function Combinations(k, n) cannot be negative.

Cause

You have passed a negative value to one of the parameters of Combinations, such as:

Combinations(-2, 5)

If you ignore the warning, the result will be NaN.

Remedies

Correct the «k» parameter to the combinations function to be greater than or equal to zero.

See Also

Comments


You are not allowed to post comments.