Error Messages/42390

< Error Messages
Revision as of 17:18, 9 January 2013 by Lchrisman (talk | contribs) (Created page with "= Warning Message = :SysFunction Subset found no true elements in its parameter. = Cause = There is nothing logically wrong with a Subset operaton that finds no elemen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Warning Message

SysFunction Subset found no true elements in its parameter.

Cause

There is nothing logically wrong with a Subset operaton that finds no elements, and hence returns an empty set. But sometimes you don't intend for the result to be empty, so this warning can help you detect problems that might be injected into your model.

This warning shows up only if you've included an optional «warnEmpty» parameter to Subset, e.g.

Subset( Temperature>120, warnEmpty:true )

In earlier releases of Analytica, the warning would occur by default, and if you wanted to allow empty subsets without a warning, you had to surround the call with IgnoreWarnings. Since those releases did not link to the page you are reading now, it is safe to assume that you aren't using one of those earlier releases.

See also

Comments


You are not allowed to post comments.