anchor.diff:  </thead>
   <tbody>
       <% if criterium.subcriteria.length > 0 then %>
  -        <% sum = {} %>
  +        <% if sum[criterium.name] == nil then sum[criterium.name] = {} end %>
           <% criterium.subcriteria.each do |sub| %>
           <tr>
               <td><%=sub.name%></td>
  
positive.code:             <td>NK</td>
              <td></td>
              <% @plants.each do |plant| %>
              <td><%=sum[plant.name]%></td>
              <% end %>
          </tr>
      <% else %>
  
negative.code:             nilai = @gapsScore[plant.name][sub.name].to_f * sub.ahp.to_f
              if rangkings[criterium.name] == nil then rangkings[criterium.name] = {} end
              rangkings[criterium.name][plant.name] = nilai
              if sum[criterium.name][plant.name] == nil then sum[criterium.name][plant.name] = 0.0 end
              sum[criterium.name][plant.name] = sum[criterium.name][plant.name] + nilai
              %>
              <% end %>
          </tr>
  