NaN checks for volume (from arc)
This commit is contained in:
@@ -79,6 +79,7 @@ public class LAssembler{
|
||||
if(Double.isNaN(value)){
|
||||
return putVar(symbol);
|
||||
}else{
|
||||
if(Double.isInfinite(value)) value = 0.0;
|
||||
//this creates a hidden const variable with the specified value
|
||||
return putConst("___" + value, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user