You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@concerted.apache.org by "Gaurav Shukla (JIRA)" <ji...@apache.org> on 2015/11/01 07:30:28 UTC

[jira] [Commented] (CONCERTED-18) insert_val and search_val function in ConcMat.h limits the search array size to 3

    [ https://issues.apache.org/jira/browse/CONCERTED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984279#comment-14984279 ] 

Gaurav Shukla commented on CONCERTED-18:
----------------------------------------

I've made the whole structure more object oriented by moving the functions inside there respective classes, And also the search function wasn't working, so I fixed it. Are there any tests I could run to make sure I didn't break anything ?

[~atris], I wanted to know When do we change level, there's a level field in mat_node class but that is never incremented ?


> 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)