summaryrefslogtreecommitdiff
path: root/lib/bbrc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bbrc.rb')
-rw-r--r--lib/bbrc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bbrc.rb b/lib/bbrc.rb
index 6e3af3a..81eeedc 100644
--- a/lib/bbrc.rb
+++ b/lib/bbrc.rb
@@ -34,7 +34,7 @@ module OpenTox
minfreq = minfreq.round
end
- @bbrc = Bbrc::Bbrc.new
+ @bbrc ||= Bbrc::Bbrc.new
@bbrc.Reset
if prediction_feature.numeric
@bbrc.SetRegression(true) # AM: DO NOT MOVE DOWN! Must happen before the other Set... operations!