Skip to content

Commit

Permalink
max_y is now integer sum of roster rows and vertical rows
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoynter committed Mar 17, 2017
1 parent a7cae03 commit 7643ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/question_grid.rb
Expand Up @@ -21,7 +21,7 @@ def max_x
end

def max_y
vertical_code_list.codes.count
vertical_code_list&.codes&.count.to_i + roster_rows.to_i
end

def response_domains
Expand Down

0 comments on commit 7643ac7

Please sign in to comment.