lib/scs/solver.rb in scs-0.2.1 vs lib/scs/solver.rb in scs-0.2.2

- old
+ new

@@ -42,14 +42,9 @@ def check_result(ret) raise Error, "Error code #{ret}" if ret != 0 end - def read_string(char_ptr) - idx = char_ptr.index { |v| v == 0 } - char_ptr[0, idx].map(&:chr).join - end - def float_array(arr) # SCS float = double Fiddle::Pointer[arr.to_a.pack("d*")] end