Changeset ee23e9e in tol


Ignore:
Timestamp:
Jan 10, 2015, 3:19:36 PM (12 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
40693f92
Parents:
d6acb55
Message:

gibbssampler.cpp:474:57: warning: ISO C++ does not support variable-length array types [-Wvla]

FullConditional conds = new (FullConditional*[card]);

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6427 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/matrix_type/gibbssampler.cpp

    rd6acb55 ree23e9e  
    472472  BSyntaxObject * syn;
    473473
    474   FullConditional ** conds = new (FullConditional*[card]);
     474  FullConditional ** conds = new FullConditional*[card];
    475475  BContensMat condparameters(BMatrix<BDat>(card,1));
    476476  BDat * condpar_buffer = condparameters.Contens().GetData().GetBuffer();
Note: See TracChangeset for help on using the changeset viewer.