lib/ctioga2/data/backends/backends/text.rb in ctioga2-0.9 vs lib/ctioga2/data/backends/backends/text.rb in ctioga2-0.10
- old
+ new
@@ -376,12 +376,12 @@
def get_data_column(column, compute_formulas = false,
parameters = nil, header = nil)
if compute_formulas
formula = Utils::parse_formula(column, parameters, header)
debug { "Using formula #{formula} for column spec: #{column}" }
- return Dvector.compute_formula(formula,
- @current_data,
- @included_modules)
+ return Ruby.compute_formula(formula,
+ @current_data,
+ @included_modules)
else
if @current_data[column.to_i]
return @current_data[column.to_i].dup
else
raise "Cannot find column number #{column.to_i} -- maybe you got the column separator wrong ?"