Checking out a branch changes the entire source tree to that branch; 
Depending on which branch it is you need to re-run "make" as it is likely 
an entirely different Sage version.



On Saturday, December 26, 2015 at 4:53:17 PM UTC+1, jhonrubia6 wrote:
>
> Hi,
> I downloaded sage 6.10 source code, "make" it without problems (run sage 
> ok), checked out a branch for a ticket I just opened. modified the 
> /src/sage/plot/hyperbolic_arc.py adding only a comment with my name, and 
> just for check I understood the procedure as describer in the web, I did 
> sage -br getting the error I showed before. All during the same two days 
> interval. Tried sage -ba unsuccessfully I'm trying 'make' again. I will 
> return the result when it finishes. Is there a thumb rule as to when it is 
> mandatory to go through 'make' all the source or when simple sage -b will 
> suffice?
>
>
> El viernes, 25 de diciembre de 2015, 20:37:07 (UTC+1), jhonrubia6 escribió:
>>
>> Hi,
>> this is the first time I try to contribute. I began making a single 
>> change in the comments, here is the diff
>> MacBook-de-Javier:sage-6.10 t143730$ git diff
>> diff --git a/src/sage/plot/hyperbolic_arc.py 
>> b/src/sage/plot/hyperbolic_arc.py
>> index 5b1ac5d..17f88f5 100644
>> --- a/src/sage/plot/hyperbolic_arc.py
>> +++ b/src/sage/plot/hyperbolic_arc.py
>> @@ -8,6 +8,7 @@ AUTHORS:
>>
>>  
>> #*****************************************************************************
>>  #       Copyright (C) 2011 Hartmut Monien <mon...@th.physik.uni-bonn.de 
>> <javascript:>>,
>>  #                     2015 Stefan Kraemer <skra...@th.physik.uni-bonn.de 
>> <javascript:>>
>> +#                     2016 Javier Honrubia <jhonr...@uned.es 
>> <javascript:>>
>>  #
>>  #  Distributed under the terms of the GNU General Public License (GPL)
>>  #
>>
>> then I used ./sage -br as instructed to rebuild my local copy of sage and 
>> got 1 error where there should be none . Could somebody give me a clue on 
>> this?
>>
>> Executing 146 commands (using 1 thread)
>> [  1/146] gcc -fno-strict-aliasing 
>> -I/Users/t143730/Applications/sage-6.10/local/var/tmp/sage/build/python2-2.7.10.p0/include
>>  
>> -DNDEBUG -g -fwrapv -O3 -Wall 
>> -I/Users/t143730/Applications/sage-6.10/local/include 
>> -I/Users/t143730/Applications/sage-6.10/local/include/python2.7 
>> -I/Users/t143730/Applications/sage-6.10/local/lib/python2.7/site-packages/numpy/core/include
>>  
>> -I/Users/t143730/Applications/sage-6.10/src 
>> -I/Users/t143730/Applications/sage-6.10/src/sage/ext 
>> -I/Users/t143730/Applications/sage-6.10/src/build/cythonized 
>> -I/Users/t143730/Applications/sage-6.10/src/build/cythonized/sage/ext 
>> -I/Users/t143730/Applications/sage-6.10/local/include/python2.7 -c 
>> /Users/t143730/Applications/sage-6.10/src/build/cythonized/sage/libs/fplll/fplll.cpp
>>  
>> -o 
>> build/temp.macosx-10.7-x86_64-2.7/Users/t143730/Applications/sage-6.10/src/build/cythonized/sage/libs/fplll/fplll.o
>>  
>> -DFPLLL_V3_COMPAT -fno-strict-aliasing -w
>> /Users/t143730/Applications/sage-6.10/src/build/cythonized/sage/libs/fplll/fplll.cpp:
>>  
>> In function 'PyObject* 
>> __pyx_pf_4sage_4libs_5fplll_5fplll_6FP_LLL_10BKZ(__pyx_obj_4sage_4libs_5fplll_5fplll_FP_LLL*,
>>  
>> int, double, PyObject*, int, int, int, PyObject*, PyObject*, PyObject*, 
>> PyObject*)':
>> /Users/t143730/Applications/sage-6.10/src/build/cythonized/sage/libs/fplll/fplll.cpp:5020:165:
>>  
>> error: no matching function for call to 
>> 'bkzReduction(fplll::ZZ_mat<__mpz_struct [1]>*&, NULL, fplll::BKZParam&, 
>> fplll::FloatType, int&)'
>>    __pyx_v_r = fplll::bkzReduction(__pyx_v_self->_lattice, NULL, 
>> __pyx_v_o, 
>> __pyx_f_4sage_4libs_5fplll_5fplll_check_float_type(__pyx_v_float_type), 
>> __pyx_v_precision);
>>                                                                           
>>                                                                             
>>                ^
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to