summaryrefslogtreecommitdiff
path: root/views/neighbors.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r--views/neighbors.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml
index 86d1906..45a3642 100644
--- a/views/neighbors.haml
+++ b/views/neighbors.haml
@@ -94,7 +94,7 @@
- c = c
- else
/- c = Array.new
- - c = p.data_entries[count][2].round(3)
+ - c = p.data_entries[count][2].to_f.round(3)
%tr
%td.compound
%a{:href => to("/prediction/#{CGI.escape(neighbor_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"}