[
https://issues.apache.org/jira/browse/CONCERTED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14973904#comment-14973904
]
Atri Sharma commented on CONCERTED-18:
--------------------------------------
Oops, my bad.
I think that this should be dynamic and ideally passed in as a pointer with a
new parameter for the number of elements.
> insert_val and search_val function in ConcMat.h limits the search array size
> to 3
> ---------------------------------------------------------------------------------
>
> Key: CONCERTED-18
> URL: https://issues.apache.org/jira/browse/CONCERTED-18
> Project: Apache Concerted
> Issue Type: Bug
> Reporter: Gaurav Shukla
> Assignee: Gaurav Shukla
> Priority: Minor
> Labels: newbie
>
> insert_val and search_val function in ConcMat.h limits insert and search
> array size to 3 where as mat_node suports child attributes upto 10.
> So I think both the functions should allow searching and inserting upto a max
> of 10 or if possible even the number of childs in mat_node should also be
> dynamic.
> mat_node* insert_val(int[3],mat_node*);
> mat_node* search_val(int search_val_array[3], mat_tree *tree_val)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)