@@ -290,15 +290,15 @@ end
290290
291291show (psnlp:: PartitionedDataTRPQN ) = show (stdout , psnlp)
292292
293- function show (io:: IO , part_data:: PartitionedDataTRPQN )
293+ function show (io:: IO , part_data:: PartitionedDataTRPQN )
294294 println (io, " \n Partitioned structure summary:" )
295- n = get_n (part_data)
295+ n = get_n (part_data)
296296 N = get_N (part_data)
297297 M = get_M (part_data)
298298 S = [" element functions" , " distinct element functions" ]
299299 V = [N, M]
300300 print (io, join (NLPModels. lines_of_hist (S, V), " \n " ))
301-
301+
302302 @printf (io, " \n %20s:\n " , " Element statistics" )
303303 element_functions = part_data. vec_elt_fun
304304
@@ -311,17 +311,17 @@ function show(io::IO, part_data::PartitionedDataTRPQN)
311311 S1 = [" linear" , " quadratic" , " cubic" , " general" ]
312312 V1 = [linear, quadratic, cubic, general]
313313 LH1 = NLPModels. lines_of_hist (S1, V1)
314-
314+
315315 element_function_convexity_status = (elt_fun -> elt_fun. convexity_status). (element_functions)
316316 convex = count (is_convex, element_function_convexity_status)
317317 concave = count (is_concave, element_function_convexity_status)
318318 general = count (is_unknown, element_function_convexity_status)
319-
319+
320320 S2 = [" convex" , " concave" , " general" ]
321321 V2 = [convex, concave, general]
322322 LH2 = NLPModels. lines_of_hist (S2, V2)
323323
324- LH = map ((i) -> LH1[i]* LH2[i], 1 : 3 )
324+ LH = map ((i) -> LH1[i] * LH2[i], 1 : 3 )
325325 push! (LH, LH1[4 ])
326326 print (io, join (LH, " \n " ))
327327
@@ -345,8 +345,8 @@ function show(io::IO, part_data::PartitionedDataTRPQN)
345345 V2 = [min_length_variable, mean_length_variable, max_length_variable]
346346 LH2 = NLPModels. lines_of_hist (S2, V2)
347347
348- LH = map ((i,j) -> i* j, LH1, LH2)
349- print (io, join (LH, " \n " ))
348+ LH = map ((i, j) -> i * j, LH1, LH2)
349+ print (io, join (LH, " \n " ))
350350
351351 return nothing
352352end
0 commit comments