summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xreport/report_content.rb2
-rwxr-xr-xreport/xml_report.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/report/report_content.rb b/report/report_content.rb
index d45d736..d151a7d 100755
--- a/report/report_content.rb
+++ b/report/report_content.rb
@@ -126,7 +126,7 @@ class Reports::ReportContent
# bit of a hack to algin the last two plots in the report in to one row
def align_last_two_images( title )
- @xml_report.align_last_two_elements(@current_section, title )
+ @xml_report.align_last_two_images(@current_section, title )
end
def add_regression_plot( validation_set,
diff --git a/report/xml_report.rb b/report/xml_report.rb
index ab3098e..5be5fdc 100755
--- a/report/xml_report.rb
+++ b/report/xml_report.rb
@@ -134,7 +134,7 @@ module Reports
end
# bit of a hack to algin the last two figures that have been added to element into one row
- def align_last_two_figures( element, title )
+ def align_last_two_images( element, title )
imgs = []
element.elements.each do |e|
imgs[0] = imgs[1]