Changeset 2375


Ignore:
Timestamp:
Feb 19, 2010 4:35:39 PM (10 years ago)
Author:
jwatson
Message:

Fix to output message in scenario tree validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/scenariotree.py

    r2374 r2375  
    480480               sum_probabilities += child._conditional_probability
    481481            if abs(1.0 - sum_probabilities) > 0.000001:
    482                print "The child conditional probabilities for tree node=" + child._name + " sum to " + `sum_probabilities`
     482               print "The child conditional probabilities for tree node=" + tree_node._name + " sum to " + `sum_probabilities`
    483483               return False
    484484
Note: See TracChangeset for help on using the changeset viewer.