← Back to team overview

yade-dev team mailing list archive

Re: [yade/trunk] 059fb4: fix inertia calculation and clump test

 

Christian, it seems some tests are still failing on build-servers.
================
ERROR: testStaticProperties (yade.TestSimpleClump)
Clump: mass, centroid, intertia
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/yade/yade-clang/install/lib/x86_64-linux-gnu/yade-buildbot/py/yade/tests/clump.py",
line 46, in testStaticProperties
    self.assertAlmostEqual(bC.state.pos,c);
  File "/usr/lib/python2.7/unittest/case.py", line 557, in assertAlmostEqual
    if round(abs(second-first), places) == 0:
TypeError: bad operand type for abs(): 'Vector3'

========================
[1] https://yade-dem.org/buildbot/builders/yade-clang/builds/125/steps/test/logs/stdio

Anton

Anton


2013/7/5 Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>:
> anton, is it fine now?
>
> Zitat von Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>:
>
>
>>   Branch: refs/heads/master
>>   Home:   https://github.com/yade/trunk
>>   Commit: 059fb4883ab5dd4a7e7767702759ec8ebbed1365
>>
>> https://github.com/yade/trunk/commit/059fb4883ab5dd4a7e7767702759ec8ebbed1365
>>   Author: Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>
>>   Date:   2013-07-05 (Fri, 05 Jul 2013)
>>
>>   Changed paths:
>>     M core/Clump.cpp
>>     M py/tests/clump.py
>>
>>   Log Message:
>>   -----------
>>   fix inertia calculation and clump test
>>
>>
>>
>>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References