On Jul 21, 2008, at 4:09 AM, Andreas Unger wrote:
> when trying to use the new meep version 0.20.1 I get the following  
> error
> ERROR: Unbound variable: inf
> when trying to start meep.
> The error seems to have its origin in line 92 in meep.scm :
>
> (define perfect-magnetic-conductor (make medium (mu (- (inf)))))

I really want to use +Inf there, not 1e20.  In my version of Guile  
(1.8.1), "inf" is a built-in function that returns the IEEE infinity  
value.

Apparently "inf" is not present in older versions of Guile, and in  
particular in Guile 1.6.x, hence your error.

A workaround is to replace (inf) with (/ +0.0), which does the same  
thing.  I just checked that it seems to work fine in Guile 1.6.x and  
in Guile 1.8.x.

I'll probably release a version 0.20.2 shortly to fix this problem.

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to