Skip to content
Snippets Groups Projects
Commit 5da661c2 authored by Robert Dodier's avatar Robert Dodier
Browse files

In absimp.dem, correctly determine whether absimp needs to be loaded.

Fixes bug reported to mailing list 2019-11-14: "get('absimp,'version) always returns false."
parent 6ddbad4a
No related branches found
No related tags found
No related merge requests found
if get ('absimp,'version)=false then load("absimp.mac");
/* There isn't any really good way to tell if a package needs to be loaded ... */
if ?mget ('absimp, '?mexpr) # false
then "absimp.dem: function absimp is present."
else load ("absimp.mac");
abs(x)^2;
diff(abs(x),x);
cosh(abs(x));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment