Skip to content

Commit 3e44d44

Browse files
ChristopherHoganstevengj
authored andcommitted
Align prism output with other geometric_objects (#25)
* Align prism output with other geometric_objects * Show log on failed test in travis
1 parent 84bd28e commit 3e44d44

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ matrix:
2323
- sh autogen.sh --prefix=`pwd`/.local
2424
- make && make check && make install
2525
- rm -rf * ~/.local
26+
27+
after_script:
28+
- PRISM_LOG=${TRAVIS_BUILD_DIR}/utils/test-prism.log
29+
- if [[ -e ${PRISM_LOG} ]]; then cat ${PRISM_LOG}; fi

utils/geom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2558,7 +2558,7 @@ void display_prism_info(int indentby, prism *prsm)
25582558
int nv;
25592559
for(nv=0; nv<num_vertices; nv++)
25602560
{ vector3 v = matrix3x3_vector3_mult(m_p2c, vertices[nv]);
2561-
printf("%*s {%g,%g,%g}\n",indentby,"",v.x,v.y,v.z);
2561+
printf("%*s (%g,%g,%g)\n",indentby,"",v.x,v.y,v.z);
25622562
}
25632563
}
25642564

0 commit comments

Comments
 (0)