summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/ot_predictions.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/ot_predictions.rb b/lib/ot_predictions.rb
index eb80205..f812854 100755
--- a/lib/ot_predictions.rb
+++ b/lib/ot_predictions.rb
@@ -162,8 +162,12 @@ module Lib
raise "no array "+v.class.to_s+" : '"+v.to_s+"'" unless v.is_a?(Array)
if v.size>1
v.uniq!
- raise "not yet implemented: multiple non-equal values "+compound.to_s+" "+v.inspect if v.size>1
- v = v[0]
+ if v.size>1
+ v = nil
+ LOGGER.warn "not yet implemented: multiple non-equal values "+compound.to_s+" "+v.inspect
+ else
+ v = v[0]
+ end
elsif v.size==1
v = v[0]
else